//
// sub_18009D5E0 from 0x18009d5e0 to 0x18009d610 (48 bytes)
//
// 3 xrefs:
// > cocos2d::CCActionManager::addAction @ 0x180037e03
// > cocos2d::CCScheduler::scheduleSelector @ 0x1800c2165
// > ??> @ 0x1801b73d4
//
// 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 sub_18009D5E0(__int64 a1, cocos2d::CCObject *a2)
{
__int64 result; // rax
cocos2d::CCObject::retain(a2);
result = *(_QWORD *)(a1 + 16);
*(_QWORD *)(result + 8LL * (unsigned int)(*(_DWORD *)a1)++) = a2;
return result;
}