// // sub_C4000 from 0xc4000 to 0xc4074 (116 bytes) // // 3 xrefs: // > sub_C3BD4 @ 0xc3cb4 // > sub_C3F8C @ 0xc3ff0 // > sub_C4404 @ 0xc4470 // // 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 12:14:45 +0000 // __int64 __fastcall sub_C4000(__int64 a1, __int64 a2) { __int64 v2; // x0 __int64 v3; // x1 float v4; // s0 float v5; // s1 char v6; // nf char v7; // vf float v8; // s1 v2 = sub_C4B8C(*(float *)(a2 + 8), *(float *)&xmmword_1554D0); if ( v6 != v7 || (v5 = *((float *)&xmmword_1554D0 + 1), v4 > *((float *)&xmmword_1554D0 + 1)) ) { v4 = v5; *(float *)(v3 + 8) = v5; } v8 = *(float *)(v2 + 2036); *(float *)(v2 + 2040) = v4; sub_CD9B4(v2 + 544, (float)(v8 + v4) * 0.001, 0.0187, 1.29, (float)*(int *)(v2 + 2080)); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source