// // sub_51AAC from 0x51aac to 0x51ada (46 bytes) // // 3 xrefs: // > sub_536F8 @ 0x53720 // > sub_58838 @ 0x58876 // > sub_58BB0 @ 0x58bd8 // // 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_51AAC(int a1, _DWORD *a2) { _DWORD *v2; // r2 int v3; // r0 _DWORD *v4; // r4 if ( !a2 ) return 31; v2 = (_DWORD *)(a1 + 300); v3 = 0; v4 = v2; while ( 1 ) { v4 = (_DWORD *)*v4; if ( v4 == v2 ) break; if ( *(_DWORD *)(v4[2] + 16) != 1010 ) ++v3; } *a2 = v3; return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source