// // sub_1800CC8C0 from 0x1800cc8c0 to 0x1800cc9ce (270 bytes) // // 2 xrefs: // > @ 0x18016c708 // > @ 0x1801fe694 // // 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_1800CC8C0(float *a1, unsigned int a2) { __int64 v4; // rbp float *v5; // rdi __int64 v6; // rax __int64 result; // rax __int64 v8; // [rsp+40h] [rbp+8h] BYREF v4 = 3LL * (int)a2; v5 = &a1[2 * a2]; if ( !*(_QWORD *)(*((_QWORD *)a1 + 1) + 24LL * (int)a2 + 73784) ) goto LABEL_11; v6 = *((_QWORD *)v5 + 42); if ( a1[a2 + 79] == 0.0 ) { if ( !v6 ) return 0; result = (*(__int64 (__fastcall **)(float *, __int64, __int64 *))(*(_QWORD *)a1 + 288LL))(a1, 4294967294LL, &v8); if ( (_DWORD)result ) return result; result = sub_180096490(*(_QWORD *)(*((_QWORD *)a1 + 1) + 8 * v4 + 73784), v8, *((_QWORD *)v5 + 42), 4); if ( (_DWORD)result ) return result; LABEL_11: *((_QWORD *)v5 + 42) = 0; return 0; } if ( v6 || (result = (*(__int64 (__fastcall **)(float *, __int64, __int64 *))(*(_QWORD *)a1 + 288LL))(a1, 4294967294LL, &v8), !(_DWORD)result) && (result = sub_1800923A0(*(_QWORD *)(*((_QWORD *)a1 + 1) + 8 * v4 + 73784), v8, (_QWORD *)v5 + 42, 2, 0, nullptr), !(_DWORD)result) ) { result = sub_1800CC9D0(a1, a2); if ( !(_DWORD)result ) return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source