//
// sub_100353B48 from 0x100353b48 to 0x100353b8c (68 bytes)
//
// 7 xrefs:
// > cocos2d::CCTouchDispatcher::init @ 0x10014eb80
// > cocos2d::CCKeypadDispatcher::CCKeypadDispatcher @ 0x1001ad568
// > cocos2d::CCKeypadDispatcher::CCKeypadDispatcher @ 0x1001ad574
// > sub_1002399F4 @ 0x100239a34
// > sub_1002399F4 @ 0x100239a40
// > cocos2d::CCMouseDispatcher::CCMouseDispatcher @ 0x1002fe0b8
// > cocos2d::CCMouseDispatcher::CCMouseDispatcher @ 0x1002fe0c4
//
// 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_100353B48(unsigned int a1)
{
unsigned int v1; // w20
_QWORD *v2; // x19
if ( a1 <= 1 )
v1 = 1;
else
v1 = a1;
v2 = malloc(0x18u);
*(_DWORD *)v2 = 0;
v2[2] = malloc(8LL * v1);
*((_DWORD *)v2 + 1) = v1;
return v2;
}