// // sub_1004B1068 from 0x1004b1068 to 0x1004b1108 (160 bytes) // // 1 xrefs: // > sub_1004D00C8 @ 0x1004d014c // // 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_1004B1068(__int64 a1) { int v1; // w8 __int64 result; // x0 __int64 v4; // x0 __int64 v5; // x0 __int64 v6; // x0 v1 = *(_DWORD *)(a1 + 16) - 1; *(_DWORD *)(a1 + 16) = v1; if ( v1 ) return 0; result = sub_100454B28(); if ( !(_DWORD)result ) { result = sub_1004A972C(); if ( !(_DWORD)result ) { result = sub_1004B55D0(); if ( !(_DWORD)result ) { v4 = *(_QWORD *)(a1 + 312); if ( v4 ) { sub_1004B5C10(v4, 0); *(_QWORD *)(a1 + 312) = 0; } v5 = *(_QWORD *)(a1 + 304); if ( v5 ) { sub_1004B5C10(v5, 0); *(_QWORD *)(a1 + 304) = 0; } v6 = *(_QWORD *)(a1 + 296); if ( v6 ) { sub_1004B5C10(v6, 0); *(_QWORD *)(a1 + 296) = 0; } result = *(_QWORD *)(a1 + 8); if ( result ) { sub_1004B5C10(result, 0); *(_QWORD *)(a1 + 8) = 0; return 0; } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source