//
// cocos2d::CCArray::initWithObject from 0x180007110 to 0x180007156 (70 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b79c0
//
// 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:21:18 +0000
//
char __fastcall cocos2d::CCArray::initWithObject(cocos2d::CCArray *this, struct cocos2d::CCObject *a2)
{
__int64 *v2; // rbx
__int64 v4; // rax
v2 = (__int64 *)((char *)this + 56);
sub_1800A16E0((char *)this + 56);
sub_1800A16E0(v2);
v4 = sub_1800A1920(1u);
*v2 = v4;
sub_1800A12A0(v4, a2);
return 1;
}