// // sub_97A11C from 0x97a11c to 0x97a14a (46 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:06:02 +0000 // unsigned __int8 *__fastcall sub_97A11C(unsigned __int8 *a1) { unsigned int v1; // r1 int v2; // r1 unsigned __int8 *result; // r0 int v4; // r1 v1 = *a1; if ( (v1 & 1) != 0 ) { v4 = *((_DWORD *)a1 + 1) - 1; *((_DWORD *)a1 + 1) = v4; result = *((unsigned __int8 **)a1 + 2); *(_DWORD *)&result[4 * v4] = 0; } else { v2 = (v1 >> 1) - 1; *a1 = 2 * v2; result = &a1[4 * v2]; *((_DWORD *)result + 1) = 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source