// // sub_1005ED148 from 0x1005ed148 to 0x1005ed21c (212 bytes) // // 1 xrefs: // > sub_1005ED24C @ 0x1005ed2d8 // // 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_1005ED148(_DWORD *a1, __int64 *a2) { __int64 (__fastcall *v4)(_DWORD *); // x8 __int64 v5; // x20 if ( a1 && *(_QWORD *)a1 && (v4 = *(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)a1 + 56LL)) != nullptr ) { if ( a1[8] == 4 ) { if ( a2 ) { if ( !*a2 ) { *a2 = (__int64)sub_1005E9668(); v4 = *(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)a1 + 56LL); } v5 = v4(a1); if ( (int)v5 <= 0 ) { sub_1005E9A8C(*a2); *a2 = 0; } } else { return 0xFFFFFFFFLL; } } else { sub_1005E0E48(6, 146, 151, (__int64)"pmeth_gn.c", 145); return 0xFFFFFFFFLL; } } else { sub_1005E0E48(6, 146, 150, (__int64)"pmeth_gn.c", 141); return 4294967294LL; } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source