Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- signed int __usercall UsePower<eax>(int a1<eax>, int a2<edx>, int a3<ecx>, int a4, int a5)
- {
- int v5; // esi@1
- char v6; // di@3
- float v7; // ebx@5
- int v9; // eax@17
- float v10; // ST2C_4@19
- int v11; // ebx@22
- int v12; // eax@23
- int v13; // [sp+3Ch] [bp-3Ch]@1
- int v14; // [sp+40h] [bp-38h]@1
- int v15; // [sp+44h] [bp-34h]@1
- signed int v16; // [sp+4Ch] [bp-2Ch]@3
- int v17; // [sp+5Ch] [bp-1Ch]@6
- v14 = a1;
- v5 = a2;
- v13 = a3;
- v15 = sub_CA1E70(*(_DWORD *)(a1 + 4));
- *(_DWORD *)a5 = 0;
- sub_C26C00(748);
- if ( sub_CB0D40(*(_DWORD *)(v5 + 4), -1) != 3 )
- {
- if ( sub_705E20() || (v6 = 0, v16 = 0, *(_DWORD *)(v5 + 36)) )
- {
- v6 = 1;
- v16 = 1;
- }
- if ( *(_DWORD *)(v5 + 4) == sub_C26C00(743) )
- {
- v16 = 0;
- }
- else
- {
- LODWORD(v7) = v5 + 8;
- if ( v6 )
- goto LABEL_6;
- }
- LODWORD(v7) = v5 + 8;
- if ( !sub_705E50(v14, *(_DWORD *)(v5 + 4), v5 + 8, 0, 0) || !sub_CB0520(*(_DWORD *)(v5 + 4)) )
- {
- LABEL_6:
- v17 = 0;
- if ( sub_700030(v14, *(_DWORD *)(v5 + 4), *(_DWORD *)v5, LODWORD(v7), v16, v13, a4, &v17) )
- {
- sub_701260(v14, *(_DWORD *)(v5 + 4), *(_DWORD *)v5, *(_DWORD *)(v5 + 32), v7, v17, -1, -1);
- *(_DWORD *)a5 = 1;
- return 1;
- }
- return 0;
- }
- if ( sub_6FDA90() )
- {
- if ( v13 )
- {
- if ( !*(_DWORD *)(v15 + 32524) )
- {
- v9 = *(_DWORD *)(v15 + 32280);
- if ( v9 == 6 || v9 == 8 )
- sub_706910(v5 + 8);
- }
- }
- v10 = sub_705EB0(*(_DWORD *)(v14 + 4), *(_DWORD *)(v5 + 4), v5 + 8);
- sub_700DC0(v5 + 8, 0, v13, a4, *(_DWORD *)(v5 + 36));
- *(_DWORD *)(v15 + 32524) = 1;
- *(_DWORD *)(v15 + 30924) = 0;
- return 1;
- }
- return 0;
- }
- if ( !sub_6FDA90() )
- return 0;
- v11 = v5 + 8;
- if ( v13 )
- {
- v12 = *(_DWORD *)(v15 + 32280);
- if ( v12 == 6 || v12 == 8 )
- {
- v11 = v5 + 8;
- sub_706910(v5 + 8);
- }
- else
- {
- v11 = v5 + 8;
- if ( *(_DWORD *)(v15 + 32272) == 60 && *(_DWORD *)(v5 + 36) )
- sub_706910(v5 + 8);
- }
- }
- sub_700DC0(v11, 0, v13, a4, *(_DWORD *)(v5 + 36));
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement