// // sub_180043C20 from 0x180043c20 to 0x180043c8f (111 bytes) // // 2 xrefs: // > sub_180044E10 @ 0x180044f9a // > @ 0x1801f8100 // // This function is hookable on this platform (idp: pc, 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 10:53:12 +0000 // __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; }
GD Web Decomp Icon

GD Web Decomp

Raw Source