// // sub_1800891B0 from 0x1800891b0 to 0x180089448 (664 bytes) // // 2 xrefs: // > @ 0x1801ae5e0 // > @ 0x1801fa428 // // 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_1800891B0(float **a1, int a2, _DWORD *a3, __int64 a4) { float *v5; // r9 float v6; // xmm3_4 v5 = *a1; switch ( a2 ) { case 0: if ( a3 ) *a3 = *((_DWORD *)v5 + 508); if ( !a4 ) return 0; v6 = v5[508]; goto LABEL_54; case 1: if ( a3 ) *a3 = *((_DWORD *)v5 + 509); if ( !a4 ) return 0; v6 = v5[509]; goto LABEL_54; case 2: if ( a3 ) *a3 = *((_DWORD *)v5 + 510); if ( !a4 ) return 0; v6 = v5[510]; goto LABEL_54; case 3: if ( a3 ) *a3 = *((_DWORD *)v5 + 511); if ( !a4 ) return 0; v6 = v5[511]; goto LABEL_54; case 4: if ( a3 ) *a3 = *((_DWORD *)v5 + 512); if ( !a4 ) return 0; v6 = v5[512]; goto LABEL_54; case 5: if ( a3 ) *a3 = *((_DWORD *)v5 + 513); if ( !a4 ) return 0; v6 = v5[513]; goto LABEL_54; case 6: if ( a3 ) *a3 = *((_DWORD *)v5 + 514); if ( !a4 ) return 0; v6 = v5[514]; goto LABEL_54; case 7: if ( a3 ) *a3 = *((_DWORD *)v5 + 515); if ( !a4 ) return 0; v6 = v5[515]; goto LABEL_54; case 8: if ( a3 ) *a3 = *((_DWORD *)v5 + 516); if ( !a4 ) return 0; v6 = v5[516]; goto LABEL_54; case 9: if ( a3 ) *a3 = *((_DWORD *)v5 + 517); if ( !a4 ) return 0; v6 = v5[517]; goto LABEL_54; case 10: if ( a3 ) *a3 = *((_DWORD *)v5 + 518); if ( !a4 ) return 0; sub_1800B7CA0(a4, 32, "%d", (int)v5[518]); return 0; case 11: if ( a3 ) *a3 = *((_DWORD *)v5 + 519); if ( !a4 ) return 0; sub_1800B7CA0(a4, 32, "%d", (int)v5[519]); return 0; case 12: if ( a3 ) *a3 = *((_DWORD *)v5 + 534); if ( !a4 ) return 0; v6 = v5[534]; LABEL_54: sub_1800B7CA0(a4, 32, "%f", v6); return 0; default: return 31; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source