// // sub_1004EC2DC from 0x1004ec2dc to 0x1004ec3d4 (248 bytes) // // 0 xrefs: // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall sub_1004EC2DC(__int64 a1, __int64 a2, int a3) { char v6; // w24 __int64 *v7; // x22 __int64 v8; // x23 __int64 v9; // x26 __int64 v10; // x27 __int64 result; // x0 if ( !*(_QWORD *)(a2 + 104) ) return 4294967165LL; v6 = 0; v7 = (__int64 *)(a2 + 528); v8 = a2 + 648; while ( *(_DWORD *)(a2 + 8) ) { if ( *(int *)(a2 + 128) >= 3 ) { sub_10042CBAC(a1, v7); sub_10042CB4C(a1, v8); *(_DWORD *)(a2 + 128) = 2; } if ( *(int *)(a2 + 64) < 1 ) { LABEL_13: result = 0; if ( (v6 & 1) == 0 ) return result; return 4294967165LL; } v9 = 0; v10 = 0; while ( !(unsigned int)sub_1004EBDBC(*(_QWORD *)(a2 + 104) + v9, a3) ) { ++v10; v9 += 40; if ( v10 >= *(int *)(a2 + 64) ) goto LABEL_13; } a3 = 0; v6 = 1; if ( !*(_QWORD *)(a2 + 104) ) return 4294967165LL; } result = 4294967165LL; if ( (v6 & 1) != 0 ) return 4294967165LL; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source