//
// cocos2d::CCArray::initWithObject from 0x180006fc0 to 0x180007006 (70 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801ad99c
//
// 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
//
char __fastcall cocos2d::CCArray::initWithObject(cocos2d::CCArray *this, struct cocos2d::CCObject *a2)
{
cocos2d::ccArray **p_data; // rbx
__int64 v4; // rax
p_data = &this->data;
sub_18009DA50(&this->data);
sub_18009DA50(p_data);
v4 = sub_18009DC90(1u);
*p_data = (cocos2d::ccArray *)v4;
sub_18009D610(v4, a2);
return 1;
}