// // sub_623F8C from 0x623f8c to 0x623fb2 (38 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_623F8C(unsigned __int8 a1, int a2) { int v2; // r3 _BYTE *v3; // r2 unsigned int v4; // r0 bool v5; // cf int result; // r0 int v7; // r3 v2 = a1; v3 = *(_BYTE **)(a2 + 8); v4 = *(_DWORD *)(a2 + 4); v5 = v4 >= (unsigned int)v3; if ( v4 >= (unsigned int)v3 ) { result = -1; } else { v3 = *(_BYTE **)a2; result = v2; } if ( !v5 ) { *v3 = v2; v7 = *(_DWORD *)(a2 + 4) + 1; ++*(_DWORD *)a2; *(_DWORD *)(a2 + 4) = v7; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source