// // sub_EDCE4 from 0xedce4 to 0xedd64 (128 bytes) // // 1 xrefs: // > sub_F298C @ 0xf2a50 // // 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 // void *__fastcall sub_EDCE4(__int64 a1, unsigned int a2) { unsigned int v2; // w8 void *result; // x0 size_t v5; // x21 v2 = *(_DWORD *)(a1 + 16); result = &dword_0 + 1; if ( v2 < a2 ) { v5 = 4LL * (unsigned int)(1 << a2); result = realloc(*(void **)a1, v5); *(_QWORD *)a1 = result; if ( result ) { result = realloc(*(void **)(a1 + 8), v5); *(_QWORD *)(a1 + 8) = result; if ( result ) { memset(result, 0, v5); *(_DWORD *)(a1 + 16) = a2; return &dword_0 + 1; } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source