//
// sub_180081540 from 0x180081540 to 0x180081568 (40 bytes)
//
// 5 xrefs:
// > cocos2d::CCApplication::CCApplication @ 0x1800750b9
// > cocos2d::CCApplication::CCApplication @ 0x1800750e9
// > cocos2d::CCApplication::run @ 0x180076108
// > cocos2d::CCApplication::run @ 0x180076111
// > ??> @ 0x1801bf1e4
//
// 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 11:22:02 +0000
//
bool __fastcall sub_180081540(__int64 a1)
{
bool result; // al
*(_OWORD *)a1 = 0;
result = (unsigned int)XINPUT1_4_2(*(unsigned int *)(a1 + 16), a1) == 0;
*(_BYTE *)(a1 + 20) = result;
return result;
}