// // sub_180043C20 from 0x180043c20 to 0x180043c8f (111 bytes) // // 2 xrefs: // > sub_180044E10 @ 0x180044f9a // > @ 0x1801f8100 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall sub_180043C20(unsigned int a1, void **a2, _QWORD *a3) { bool v4; // zf __int64 v6; // r9 size_t v7; // rcx __int64 result; // rax void *v9; // rbx v4 = a1 == 0; v6 = 4LL * a1; v7 = v6 + 1; if ( !v4 ) v7 = v6; result = (__int64)j__malloc_base(v7); v9 = (void *)result; if ( result ) { if ( *a2 ) free(*a2); *a2 = v9; *a3 = v9; return 1; } return result; }