// // cocos2d::CCArray::createWithObject from 0x180006ee0 to 0x180006f8a (170 bytes) // // 2 xrefs: // > @ 0x18014cf68 // > @ 0x1801b7984 // // 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 // // Hidden C++ exception states: #wind=2 struct cocos2d::CCArray *__fastcall cocos2d::CCArray::createWithObject(struct cocos2d::CCObject *a1) { cocos2d::CCObject *v2; // rax cocos2d::CCObject *v3; // rdi __int64 v4; // rax v2 = (cocos2d::CCObject *)sub_1800E4AC0(0x40u); v3 = v2; if ( v2 ) { cocos2d::CCObject::CCObject(v2); *(_QWORD *)v3 = &cocos2d::CCArray::`vftable'; *((_QWORD *)v3 + 7) = 0; sub_1800A16E0((char *)v3 + 56); *((_QWORD *)v3 + 7) = sub_1800A1920(1u); } else { v3 = nullptr; } if ( v3 ) { sub_1800A16E0((char *)v3 + 56); sub_1800A16E0((char *)v3 + 56); v4 = sub_1800A1920(1u); *((_QWORD *)v3 + 7) = v4; sub_1800A12A0(v4, a1); cocos2d::CCObject::autorelease(v3); } return v3; }