// // sub_1004D4F38 from 0x1004d4f38 to 0x1004d5038 (256 bytes) // // 2 xrefs: // > sub_1004D4E2C @ 0x1004d4e2c // > sub_1004D4E30 @ 0x1004d4e38 // // 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_1004D4F38(__int64 a1) { __int64 v2; // x20 __int64 v3; // x8 int v4; // w8 int *v5; // x1 _QWORD *v6; // x9 _QWORD *v7; // x10 v2 = a1 + 74040; *(_QWORD *)a1 = off_100828C18; v3 = *(int *)(a1 + 74064); if ( (v3 & 0x80000000) != 0 ) bzero((void *)(*(_QWORD *)(a1 + 74056) + 8 * v3), 8LL * (unsigned int)-(int)v3); *(_DWORD *)(v2 + 24) = 0; v4 = *(_DWORD *)(v2 + 28); if ( v4 ) { if ( v4 >= 1 ) { v5 = *(int **)(v2 + 16); if ( v5 ) sub_1004B1970(*((_QWORD *)off_1008524C8 + 54), v5); } *(_QWORD *)(v2 + 16) = 0; *(_DWORD *)(v2 + 28) = 0; } v6 = *(_QWORD **)(v2 + 8); *v6 = *(_QWORD *)v2; *(_QWORD *)(*(_QWORD *)v2 + 8LL) = v6; *(_QWORD *)v2 = v2; *(_QWORD *)(v2 + 8) = v2; sub_1004D5038(a1 + 74000); nullsub_230(); sub_1004B1C24(a1 + 67784); sub_1004B1C24(a1 + 67656); v7 = *(_QWORD **)(a1 + 1736); *v7 = *(_QWORD *)(a1 + 1728); *(_QWORD *)(*(_QWORD *)(a1 + 1728) + 8LL) = v7; *(_QWORD *)(a1 + 1736) = a1 + 1728; *(_QWORD *)(a1 + 1728) = a1 + 1728; return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source