// // sub_A6158 from 0xa6158 to 0xa61b2 (90 bytes) // // 7 xrefs: // > sub_A61B8 @ 0xa62ca // > sub_A61B8 @ 0xa62da // > sub_A61B8 @ 0xa6336 // > sub_A61B8 @ 0xa63b2 // > sub_A61B8 @ 0xa63e4 // > sub_A640C @ 0xa645e // > sub_A640C @ 0xa6496 // // 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 // float __fastcall sub_A6158(float *a1, int a2, int a3, float *a4) { float v4; // s0 float v5; // s2 float v6; // s0 if ( !a3 ) { if ( a2 ) { v4 = a1[a2 + 187] - a1[a2 + 188]; v5 = a1[119]; goto LABEL_6; } LABEL_7: v6 = 0.0; goto LABEL_8; } if ( a2 == 16 ) goto LABEL_7; v4 = a1[a2 + 189] - a1[a2 + 188]; v5 = a1[118]; LABEL_6: v6 = v4 * v5; LABEL_8: *a4 = v6; return a1[121] + (float)(a1[a2 + 188] * a1[95]); }
GD Web Decomp Icon

GD Web Decomp

Raw Source