// // sub_A46A0 from 0xa46a0 to 0xa47ce (302 bytes) // // 1 xrefs: // > sub_A4A7C @ 0xa4a7e // // 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 // int __fastcall sub_A46A0(float *a1, int a2, _DWORD *a3, int a4) { float v4; // s0 float v6; // s0 switch ( a2 ) { case 0: if ( a3 ) *a3 = *((_DWORD *)a1 + 446); if ( !a4 ) return 0; v4 = a1[446]; goto LABEL_56; case 1: if ( a3 ) *a3 = *((_DWORD *)a1 + 447); if ( !a4 ) return 0; v4 = a1[447]; goto LABEL_56; case 2: if ( a3 ) *a3 = *((_DWORD *)a1 + 448); if ( !a4 ) return 0; v4 = a1[448]; goto LABEL_56; case 3: if ( a3 ) *a3 = *((_DWORD *)a1 + 449); if ( !a4 ) return 0; v4 = a1[449]; goto LABEL_56; case 4: if ( a3 ) *a3 = *((_DWORD *)a1 + 450); if ( !a4 ) return 0; v4 = a1[450]; goto LABEL_56; case 5: if ( a3 ) *a3 = *((_DWORD *)a1 + 451); if ( !a4 ) return 0; v4 = a1[451]; goto LABEL_56; case 6: if ( a3 ) *a3 = *((_DWORD *)a1 + 452); if ( !a4 ) return 0; v4 = a1[452]; goto LABEL_56; case 7: if ( a3 ) *a3 = *((_DWORD *)a1 + 453); if ( !a4 ) return 0; v4 = a1[453]; goto LABEL_56; case 8: if ( a3 ) *a3 = *((_DWORD *)a1 + 454); if ( !a4 ) return 0; v4 = a1[454]; goto LABEL_56; case 9: if ( a3 ) *a3 = *((_DWORD *)a1 + 455); if ( !a4 ) return 0; v4 = a1[455]; goto LABEL_56; case 10: if ( a3 ) *a3 = *((_DWORD *)a1 + 456); if ( !a4 ) return 0; v6 = a1[456]; goto LABEL_51; case 11: if ( a3 ) *a3 = *((_DWORD *)a1 + 457); if ( !a4 ) return 0; v6 = a1[457]; LABEL_51: sub_BE420(a4, 32, "%d", (int)v6); break; case 12: if ( a3 ) *a3 = *((_DWORD *)a1 + 472); if ( !a4 ) return 0; v4 = a1[472]; LABEL_56: sub_BE420(a4, 32, "%f", v4); break; default: return 31; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source