// // sub_1005FF1B0 from 0x1005ff1b0 to 0x1005ff22c (124 bytes) // // 1 xrefs: // > sub_100611758 @ 0x100611828 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 11:09:56 +0000 // __int64 __fastcall sub_1005FF1B0(__int64 a1, unsigned int a2) { unsigned int v3; // w8 __int64 result; // x0 size_t v6; // x21 v3 = *(_DWORD *)(a1 + 16); result = 1; if ( v3 < a2 ) { v6 = 4LL * (unsigned int)(1 << a2); result = (__int64)realloc(*(void **)a1, v6); *(_QWORD *)a1 = result; if ( result ) { result = (__int64)realloc(*(void **)(a1 + 8), v6); *(_QWORD *)(a1 + 8) = result; if ( result ) { bzero((void *)result, v6); *(_DWORD *)(a1 + 16) = a2; return 1; } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source