// // sub_1800CF380 from 0x1800cf380 to 0x1800cf5d0 (592 bytes) // // 2 xrefs: // > @ 0x18016c9c0 // > @ 0x1801fe940 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 10:54:08 +0000 // __int64 __fastcall sub_1800CF380(__int64 a1, double a2, float a3, float a4, float a5, int a6, int a7, int a8, int a9) { int v9; // edx __int64 v11; // rax __int64 v12; // rcx int v13; // eax __int64 v14; // rcx __int64 result; // rax int v16; // eax __int64 v17; // r8 int v18; // [rsp+28h] [rbp-1090h] __int64 v19; // [rsp+70h] [rbp-1048h] BYREF int v20[1024]; // [rsp+80h] [rbp-1038h] BYREF v9 = 0; LODWORD(v19) = LODWORD(a2); if ( (LODWORD(a2) & 0x7F800000) == 0x7F800000 ) return 29; *(float *)&v19 = a3; if ( (LODWORD(a3) & 0x7F800000) == 0x7F800000 ) return 29; *(float *)&v19 = a4; if ( (LODWORD(a4) & 0x7F800000) == 0x7F800000 ) return 29; *(float *)&v19 = a5; if ( (LODWORD(a5) & 0x7F800000) == 0x7F800000 ) return 29; LODWORD(v19) = a6; if ( (a6 & 0x7F800000) == 0x7F800000 ) return 29; LODWORD(v19) = a7; if ( (a7 & 0x7F800000) == 0x7F800000 ) return 29; LODWORD(v19) = a8; if ( (a8 & 0x7F800000) == 0x7F800000 ) return 29; LODWORD(v19) = a9; if ( (a9 & 0x7F800000) == 0x7F800000 ) return 29; v11 = *(_QWORD *)(a1 + 472); if ( !v11 || !*(_QWORD *)(a1 + 32) ) return 30; v12 = *(_QWORD *)(v11 + 40); if ( v12 ) { v13 = *(_DWORD *)(v12 + 104); v9 = *(_DWORD *)(v12 + 116); goto LABEL_15; } v14 = *(_QWORD *)(v11 + 48); if ( !v14 ) return 30; v13 = *(unsigned __int16 *)(v14 + 280); LABEL_15: result = sub_180093940( a2, a3, a4, a5, *(float *)&a6, *(float *)&a7, *(float *)&a8, *(float *)&a9, *(_DWORD *)(a1 + 548), v13, v9, (char *)v20, &v19); if ( !(_DWORD)result ) { v16 = *(_DWORD *)(a1 + 548); if ( v16 == 3 || v16 == 1000 ) v17 = 2; else v17 = *(unsigned int *)(*(_QWORD *)(a1 + 8) + 1748LL); LOBYTE(v18) = 1; return (*(__int64 (__fastcall **)(__int64, int *, __int64, _QWORD, _DWORD, int))(*(_QWORD *)a1 + 200LL))( a1, v20, v17, (unsigned int)v19, 0, v18); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source