// // sub_10045FE78 from 0x10045fe78 to 0x10045fefc (132 bytes) // // 5 xrefs: // > sub_100458AC0 @ 0x100458e00 // > sub_1004C22D4 @ 0x1004c24d0 // > sub_1004C24E4 @ 0x1004c25a8 // > sub_1004C4520 @ 0x1004c4574 // > sub_1004C5B58 @ 0x1004c5be4 // // 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_10045FE78(__int64 a1, _DWORD *a2, int a3) { __int64 v5; // x0 __int64 result; // x0 __int64 (__fastcall *v7)(__int64, _DWORD *); // x8 *a2 = 0; if ( a3 == 8 ) { v5 = *(_QWORD *)(a1 + 368); if ( v5 ) { result = sub_1004AAA30(v5, a2); if ( (_DWORD)result ) return result; *a2 -= *(_DWORD *)(a1 + 272); return 0; } } v7 = *(__int64 (__fastcall **)(__int64, _DWORD *))(a1 + 120); if ( v7 && (*(_DWORD *)(a1 + 72) & a3) != 0 ) { result = v7(a1, a2); if ( (_DWORD)result ) return result; return 0; } return 68; }
GD Web Decomp Icon

GD Web Decomp

Raw Source