//
// sub_18009E2A0 from 0x18009e2a0 to 0x18009e2e9 (73 bytes)
//
// 9 xrefs:
// > cocos2d::CCKeyboardDispatcher::CCKeyboardDispatcher @ 0x180044c18
// > cocos2d::CCKeyboardDispatcher::CCKeyboardDispatcher @ 0x180044c26
// > cocos2d::CCMouseDispatcher::CCMouseDispatcher @ 0x180060b3d
// > cocos2d::CCMouseDispatcher::CCMouseDispatcher @ 0x180060b4b
// > cocos2d::CCTMXLayer::initWithTilesetInfo @ 0x1800ac332
// > cocos2d::CCTouchDispatcher::init @ 0x1800b2f84
// > cocos2d::CCKeypadDispatcher::CCKeypadDispatcher @ 0x1800b429d
// > cocos2d::CCKeypadDispatcher::CCKeypadDispatcher @ 0x1800b42ab
// > ??> @ 0x1801b7584
//
// 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
//
_QWORD *__fastcall sub_18009E2A0(unsigned int a1)
{
unsigned int v1; // edi
_QWORD *v2; // rbx
v1 = 1;
if ( a1 )
v1 = a1;
v2 = malloc(0x18u);
*(_DWORD *)v2 = 0;
v2[2] = malloc(8LL * v1);
*((_DWORD *)v2 + 1) = v1;
return v2;
}