// // sub_1004BE2F8 from 0x1004be2f8 to 0x1004be3cc (212 bytes) // // 1 xrefs: // > @ 0x1008286e0 // // 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_1004BE2F8(__int64 a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5) { __int64 v10; // x8 int v11; // w9 const void *v12; // x1 unsigned int v13; // w9 int v14; // w9 __int64 v15; // x10 __int64 v16; // x20 v10 = *(_QWORD *)(a1 + 352); if ( v10 ) { v11 = *(_DWORD *)(a1 + 40); if ( (unsigned int)(v11 - 1) <= 4 ) { v12 = *(const void **)(a1 + 368); if ( v12 ) { v13 = v11 - 2; if ( v13 <= 3 ) { v14 = dword_1006488E0[v13]; v15 = *(unsigned int *)(a1 + 384); if ( !(_DWORD)v15 ) goto LABEL_9; goto LABEL_8; } v14 = 8; v15 = *(unsigned int *)(a1 + 384); if ( (_DWORD)v15 ) { LABEL_8: memcpy((void *)(v10 + v15), v12, (unsigned int)(v14 * *(_DWORD *)(a1 + 104))); *(_DWORD *)(a1 + 384) = 0; } } } } LABEL_9: v16 = sub_1004C1E04(a1, a2, a3, a4, a5); if ( !(_DWORD)v16 && *(_QWORD *)(a1 + 352) ) sub_1004BDE44(a1); return v16; }
GD Web Decomp Icon

GD Web Decomp

Raw Source