//
// cocos2d::CCAutoreleasePool::CCAutoreleasePool from 0x1001afe18 to 0x1001afe6c (84 bytes)
//
// 1 xrefs:
// > cocos2d::CCPoolManager::push @ 0x1001b0134
//
// 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 cocos2d::CCAutoreleasePool::CCAutoreleasePool(__int64 a1)
{
void *v2; // x20
*(_QWORD *)cocos2d::CCObject::CCObject(a1) = off_1007B05D0;
v2 = operator new(0x40u);
sub_10024A120();
*(_QWORD *)(a1 + 56) = v2;
sub_10024A0EC(v2);
return a1;
}