//
// 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!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_180041A40(_DWORD *a1)
{
return (unsigned int)(8 * (a1[4] + 4 * (a1[3] - a1[5])) - a1[6]);
}