//
// sub_1800A1270 from 0x1800a1270 to 0x1800a12a0 (48 bytes)
//
// 3 xrefs:
// > cocos2d::CCActionManager::addAction @ 0x180038519
// > cocos2d::CCScheduler::scheduleSelector @ 0x1800c5a66
// > ??> @ 0x1801c1674
//
// This function is hookable on this platform (idp: pc, 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 11:22:13 +0000
//
__int64 __fastcall sub_1800A1270(__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;
}