//
// cocos2d::CCPoolManager::sharedPoolManager from 0x1003f68c0 to 0x1003f6920 (96 bytes)
//
// 7 xrefs:
// > cocos2d::CCDirector::init @ 0x1004827d0
// > cocos2d::CCDirector::dCCDirector @ 0x100482aad
// > cocos2d::CCDisplayLinkDirector::mainLoop @ 0x100484cc8
// > cocos2d::CCObject::dCCObject @ 0x10048a95a
// > sub_10048A9B0 @ 0x10048a9ca
// > sub_10048AA20 @ 0x10048aa3a
// > cocos2d::CCObject::autorelease @ 0x10048aae9
//
// 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
//
cocos2d::CCPoolManager *__fastcall cocos2d::CCPoolManager::sharedPoolManager()
{
cocos2d::CCPoolManager *v0; // rbx
cocos2d::CCArray *v1; // r14
v0 = (cocos2d::CCPoolManager *)qword_1009A1520;
if ( !qword_1009A1520 )
{
v0 = (cocos2d::CCPoolManager *)operator new(0x10u);
v1 = (cocos2d::CCArray *)operator new(0x40u);
sub_10071F890(v1);
v0->m_pReleasePoolStack = v1;
sub_10071F860(v1);
v0->m_pCurReleasePool = nullptr;
qword_1009A1520 = v0;
}
return v0;
}