// // sub_1800D5940 from 0x1800d5940 to 0x1800d598d (77 bytes) // // 6 xrefs: // > sub_18001CFD0 @ 0x18001eef3 // > sub_18001CFD0 @ 0x18001ef1d // > sub_18001CFD0 @ 0x18001ef3c // > sub_180028110 @ 0x18002855d // > sub_180038CE0 @ 0x180039505 // > sub_180040CB0 @ 0x1800414b7 // // This function is hookable on this platform (idp: pc, 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 10:54:11 +0000 // __int64 __fastcall sub_1800D5940(__int64 a1, int a2) { int v2; // eax float v3; // xmm1_4 v2 = 1; if ( a2 >= 1 ) v2 = a2; *(_DWORD *)(a1 + 3060) = v2; v3 = (float)((float)v2 * 0.40000001) * *(float *)(a1 + 3028); if ( v3 >= 0.0099999998 ) *(_DWORD *)(a1 + 2132) = (int)(float)((float)*(int *)(*(_QWORD *)(a1 + 8) + 16LL) / v3); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source