// // sub_10045007C from 0x10045007c to 0x100450138 (188 bytes) // // 5 xrefs: // > sub_100456878 @ 0x100456964 // > sub_1004886E0 @ 0x100488714 // > @ 0x100827458 // > @ 0x100828108 // > @ 0x100828170 // // 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 // double __fastcall sub_10045007C(__int64 a1, __int64 a2, __int64 a3) { __int64 v6; // x8 unsigned int (__fastcall *v7)(__int64); // x8 double result; // d0 v6 = *(_QWORD *)(a1 + 232); if ( !v6 || (v7 = *(unsigned int (__fastcall **)(__int64))(v6 + 64)) == nullptr || !v7(a1 + 176) ) { *(_QWORD *)(a1 + 536) = a3; *(_QWORD *)(a1 + 544) = a2; if ( !a2 || !(unsigned int)sub_1004A16F0(a1, 0, *(unsigned int *)(a2 + 104), 0) ) { (*(void (__fastcall **)(__int64, _QWORD, _QWORD, _QWORD))(*(_QWORD *)a1 + 40LL))(a1, 0, 0, 0); sub_1004A15AC(a1, 0, 1); *(_DWORD *)(a1 + 600) = *(_DWORD *)(*(_QWORD *)(a1 + 544) + 84LL); *(_DWORD *)(a1 + 612) = 0; *(_QWORD *)(a1 + 604) = 4294967294LL; *(_QWORD *)&result = 4294967294LL; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source