// // sub_9762B4 from 0x9762b4 to 0x9762f0 (60 bytes) // // 2 xrefs: // > sub_96D5D0 @ 0x96d5ec // > sub_9762F0 @ 0x9763a8 // // 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:57 +0000 // int __fastcall sub_9762B4(int a1, unsigned int a2) { int result; // r0 if ( a2 >= 0x40000000 ) std::__vector_base_common::__throw_length_error(); if ( a2 > 0x1C || *(_BYTE *)(a1 + 128) ) { result = operator new(4 * a2); } else { *(_BYTE *)(a1 + 128) = 1; result = a1 + 16; } *(_DWORD *)a1 = result; *(_DWORD *)(a1 + 4) = result; *(_DWORD *)(a1 + 8) = result + 4 * a2; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source