// // sub_83400C from 0x83400c to 0x834032 (38 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:02:10 +0000 // int __fastcall sub_83400C(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