// // sub_1800C9C80 from 0x1800c9c80 to 0x1800c9d04 (132 bytes) // // 2 xrefs: // > @ 0x18016c688 // > @ 0x1801fe3f4 // // 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_1800C9C80(__int64 a1, _DWORD *a2, char a3) { __int64 result; // rax __int64 v5; // r8 int v6; // [rsp+38h] [rbp+10h] BYREF if ( !a2 || !*(_QWORD *)(a1 + 40) ) return 31; if ( (a3 & 2) != 0 ) { *a2 = *(_DWORD *)(a1 + 76); return 0; } else if ( (a3 & 0x10) != 0 ) { v5 = *(_QWORD *)(a1 + 192); if ( v5 ) { result = (*(__int64 (__fastcall **)(_QWORD, int *))(*(_QWORD *)v5 + 128LL))(*(_QWORD *)(a1 + 192), &v6); if ( !(_DWORD)result ) { *a2 = v6; return 0; } } else { *a2 = *(_DWORD *)(a1 + 72); return 0; } } else { return sub_1800DD650(*(_QWORD *)(a1 + 40)); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source