// // sub_1004E5904 from 0x1004e5904 to 0x1004e595c (88 bytes) // // 1 xrefs: // > sub_1004E90CC @ 0x1004e92f0 // // 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_1004E5904(unsigned int a1, void **a2, _QWORD *a3) { size_t v5; // x0 __int64 result; // x0 void *v7; // x21 if ( a1 ) v5 = 4LL * a1; else v5 = 1; result = (__int64)malloc(v5); if ( result ) { v7 = (void *)result; if ( *a2 ) free(*a2); *a2 = v7; *a3 = v7; return 1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source