// // sub_969FD4 from 0x969fd4 to 0x96a06c (152 bytes) // // 4 xrefs: // > std::__ndk1::money_get>>::__do_get @ 0x969122 // > std::__ndk1::money_get>>::__do_get @ 0x9691ee // > std::__ndk1::money_get>>::__do_get @ 0x96a5ac // > std::__ndk1::money_get>>::__do_get @ 0x96a678 // // 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:05:46 +0000 // unsigned int __fastcall sub_969FD4(char **a1, int *a2, unsigned int *a3) { __int64 v6; // r10 size_t v7; // r4 unsigned int v8; // r1 bool v9; // zf void *v10; // r0 char *v11; // r6 int v12; // r0 unsigned int result; // r0 int v14; // [sp+0h] [bp-10h] v6 = *(_QWORD *)a1; v7 = -1; v8 = *a3 - (_DWORD)*a1; v9 = a1[1] == (char *)std::__do_nothing; v10 = *a1; v14 = *a2; if ( v9 ) v10 = nullptr; if ( v8 < 0x7FFFFFFF ) v7 = 2 * v8; if ( !v7 ) v7 = 4; v11 = (char *)realloc(v10, v7); if ( !v11 ) std::__throw_bad_alloc(); if ( (void (__fastcall *)(void *))HIDWORD(v6) == std::__do_nothing ) { v12 = (int)*a1; *a1 = v11; if ( v12 ) { ((void (*)(void))a1[1])(); v11 = *a1; } } else { *a1 = v11; } a1[1] = (char *)&free; *a2 = (int)&v11[4 * ((v14 - (int)v6) >> 2)]; result = (unsigned int)&(*a1)[v7 & 0xFFFFFFFC]; *a3 = result; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source