// // sub_1005B9DF4 from 0x1005b9df4 to 0x1005b9e64 (112 bytes) // // 1 xrefs: // > @ 0x1009d9f58 // // 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:15 +0000 // __int64 __fastcall sub_1005B9DF4(__int64 *a1, int a2, float a3) { __int64 v3; // x8 float *v4; // x9 float v5; // s0 float v6; // s0 v3 = *a1; if ( a2 == 2 ) { v4 = (float *)(v3 + 556); } else if ( a2 == 1 ) { v4 = (float *)(v3 + 552); } else { if ( a2 ) goto LABEL_8; v4 = (float *)(v3 + 548); } *v4 = a3; LABEL_8: v5 = *(float *)(v3 + 548); if ( v5 == 0.0 ) v6 = 1.0; else v6 = 1.0 / (float)((float)(v5 * (float)*(int *)(v3 + 544)) / 1000.0); *(float *)(v3 + 560) = v6; return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source