//
// cocos2d::extension::AssetsManager::Helper::Helper from 0xd09964 to 0xd099f0 (140 bytes)
//
// 3 xrefs:
// > cocos2d::extension::AssetsManager::AssetsManager @ 0xd09cb0
// > ??> @ 0x878c8
// > ??> @ 0xf1f18
//
// This function is hookable on this platform (idp: arm, 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 13:06:58 +0000
//
// Alternative name is '_ZN7cocos2d9extension13AssetsManager6HelperC2Ev'
__int64 __fastcall cocos2d::extension::AssetsManager::Helper::Helper(cocos2d::extension::AssetsManager::Helper *this)
{
_QWORD *v2; // x0
cocos2d::CCDirector *v3; // x0
__int64 v4; // x0
cocos2d::CCScheduler *v5; // x0
cocos2d::CCObject::CCObject(this);
*(_QWORD *)this = &off_1509C70;
v2 = (_QWORD *)operator new(0x18u);
*v2 = v2;
v2[1] = v2;
v2[2] = 0;
*((_QWORD *)this + 7) = v2;
v3 = (cocos2d::CCDirector *)pthread_mutex_init((pthread_mutex_t *)((char *)this + 64), nullptr);
v4 = cocos2d::CCDirector::sharedDirector(v3);
v5 = (cocos2d::CCScheduler *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 128LL))(v4);
return cocos2d::CCScheduler::scheduleUpdateForTarget(v5, this, 0, 0);
}