//
// sub_180041A40 from 0x180041a40 to 0x180041a53 (19 bytes)
//
// 3 xrefs:
// > sub_180043F30 @ 0x180043f76
// > sub_180047910 @ 0x180047d2e
// > sub_180047910 @ 0x180047d8e
//
// 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:53:11 +0000
//
__int64 __fastcall sub_180041A40(_DWORD *a1)
{
return (unsigned int)(8 * (a1[4] + 4 * (a1[3] - a1[5])) - a1[6]);
}