// // sub_1005EC988 from 0x1005ec988 to 0x1005eca08 (128 bytes) // // 3 xrefs: // > sub_1005261F4 @ 0x10052627c // > sub_1005E90B8 @ 0x1005e91cc // > sub_1005ED32C @ 0x1005ed454 // // 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_1005EC988(__int64 *a1) { __int64 v2; // x8 __int64 (__fastcall *v3)(__int64 *); // x8 __int64 result; // x0 if ( a1 && (v2 = *a1) != 0 && *(_QWORD *)(v2 + 72) ) { *((_DWORD *)a1 + 8) = 8; v3 = *(__int64 (__fastcall **)(__int64 *))(v2 + 64); if ( v3 ) { result = v3(a1); if ( (int)result <= 0 ) *((_DWORD *)a1 + 8) = 0; } else { return 1; } } else { sub_1005E0E48(6, 141, 150, (__int64)"pmeth_fn.c", 88); return 4294967294LL; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source