// // sub_1005C48A0 from 0x1005c48a0 to 0x1005c49f0 (336 bytes) // // 1 xrefs: // > sub_1005C6278 @ 0x1005c6280 // // This function is hookable on this platform (idp: arm, 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 11:09:24 +0000 // __int64 __fastcall sub_1005C48A0(__int64 a1, int a2, int a3, float a4) { float v6; // s1 __int64 result; // x0 int *v8; // x1 int *v9; // [xsp+8h] [xbp-18h] BYREF switch ( a2 ) { case 0: *(float *)(a1 + 2080) = a4; if ( !a3 ) goto LABEL_28; goto LABEL_30; case 1: *(float *)(a1 + 2084) = a4; if ( a3 ) goto LABEL_30; goto LABEL_28; case 2: *(float *)(a1 + 2088) = a4; if ( a3 ) goto LABEL_30; goto LABEL_28; case 3: *(float *)(a1 + 2092) = a4; if ( a3 ) goto LABEL_30; goto LABEL_28; case 4: *(float *)(a1 + 2096) = a4; if ( a3 ) goto LABEL_30; goto LABEL_28; case 5: *(float *)(a1 + 2100) = a4; if ( a3 ) goto LABEL_30; goto LABEL_28; case 6: *(float *)(a1 + 2104) = a4; if ( a3 ) goto LABEL_30; goto LABEL_28; case 7: *(float *)(a1 + 2108) = a4; if ( a3 ) goto LABEL_30; goto LABEL_28; case 8: *(float *)(a1 + 2112) = a4; if ( a3 ) goto LABEL_30; goto LABEL_28; case 9: *(float *)(a1 + 2116) = a4; if ( !a3 ) goto LABEL_28; goto LABEL_30; case 10: *(float *)(a1 + 2120) = a4; if ( a3 ) goto LABEL_30; goto LABEL_28; case 11: *(float *)(a1 + 2124) = a4; if ( a3 ) goto LABEL_30; goto LABEL_28; case 12: *(float *)(a1 + 2128) = a4; v6 = 0.0; if ( a4 > -80.0 ) v6 = __exp10f(a4 / 20.0); *(float *)(a1 + 2132) = v6; if ( a3 ) { LABEL_30: result = sub_100564878(*(_QWORD *)(a1 + 168), &v9, 16, 1); if ( !(_DWORD)result ) { *(_BYTE *)v9 = 7; v8 = v9; *((_QWORD *)v9 + 1) = a1; result = sub_10056491C(*(_QWORD *)(a1 + 168), (__int64)v8, 1); } } else { LABEL_28: result = 0; } break; default: result = 31; break; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source