// // sub_1004B4E94 from 0x1004b4e94 to 0x1004b4ec4 (48 bytes) // // 2 xrefs: // > sub_1004AEEBC @ 0x1004af010 // > sub_1004AF554 @ 0x1004af870 // // 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_1004B4E94(__int64 result, __int64 a2) { int v2; // w8 __int64 v3; // x9 v2 = *(_DWORD *)(a2 + 24); if ( (v2 & 0x400) == 0 ) { v3 = *(_QWORD *)(result + 24); *(_QWORD *)(a2 + 72) = v3; *(_QWORD *)(result + 24) = a2; if ( v3 ) *(_QWORD *)(v3 + 48) = a2; *(_QWORD *)(a2 + 48) = 0; *(_DWORD *)(a2 + 24) = v2 | 0x420; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source