// // sub_56364 from 0x56364 to 0x563be (90 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 // int __fastcall sub_56364(_DWORD *a1, _DWORD *a2) { int v2; // r2 int v3; // r0 int v4; // r2 int *v6; // r3 int *v7; // r2 int v8; // r4 if ( a2 ) { if ( a1[31] ) { v2 = a1[42]; if ( !v2 ) { v4 = 0; *a2 = 0; v6 = (int *)a1[43]; if ( !v6 ) return v4; v7 = (int *)a1[44]; v8 = 0; while ( 1 ) { v6 = (int *)*v6; if ( v7 == v6 ) break; if ( a1[35] == *((unsigned __int16 *)v6 + 14) ) *a2 = ++v8; } return 0; } v3 = *(_DWORD *)(v2 + 4 * a1[35]); } else { v3 = a1[41]; } *a2 = v3; return 0; } return 31; }
GD Web Decomp Icon

GD Web Decomp

Raw Source