// // sub_969F38 from 0x969f38 to 0x969fc8 (144 bytes) // // 2 xrefs: // > std::__ndk1::money_get>>::__do_get @ 0x969140 // > std::__ndk1::money_get>>::__do_get @ 0x96965a // // 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 // size_t __fastcall sub_969F38(char **a1, int *a2, size_t *a3) { __int64 v6; // r10 size_t v7; // r4 unsigned int v8; // r1 bool v9; // zf void *v10; // r0 char *v11; // r6 int v12; // r0 size_t 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 = 1; 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[v14 - v6]; result = (size_t)&(*a1)[v7]; *a3 = result; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source