; ; 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 ; mov [rsp+arg_0], rbx ; +0x0, 0x180006ee0 mov [rsp+arg_10], rsi ; +0x5, 0x180006ee5 push rdi ; +0xa, 0x180006eea sub rsp, 20h ; +0xb, 0x180006eeb mov rsi, rcx ; +0xf, 0x180006eef mov ecx, 40h ; '@'; Size ; +0x12, 0x180006ef2 call sub_1800E4AC0 ; +0x17, 0x180006ef7 mov rdi, rax ; +0x1c, 0x180006efc mov [rsp+28h+arg_8], rax ; +0x1f, 0x180006eff test rax, rax ; +0x24, 0x180006f04 jz short loc_180006F3D ; +0x27, 0x180006f07 mov rcx, rax; this ; +0x29, 0x180006f09 call ??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x2c, 0x180006f0c nop ; +0x31, 0x180006f11 lea rax, ??_7CCArray@cocos2d@@6B@; const cocos2d::CCArray::`vftable' ; +0x32, 0x180006f12 mov [rdi], rax ; +0x39, 0x180006f19 mov qword ptr [rdi+38h], 0 ; +0x3c, 0x180006f1c lea rcx, [rdi+38h] ; +0x44, 0x180006f24 call sub_1800A16E0 ; +0x48, 0x180006f28 mov ecx, 1; Count ; +0x4d, 0x180006f2d call sub_1800A1920 ; +0x52, 0x180006f32 mov [rdi+38h], rax ; +0x57, 0x180006f37 jmp short loc_180006F3F ; +0x5b, 0x180006f3b xor edi, edi ; +0x5d, 0x180006f3d test rdi, rdi ; +0x5f, 0x180006f3f jz short loc_180006F77 ; +0x62, 0x180006f42 lea rcx, [rdi+38h] ; +0x64, 0x180006f44 call sub_1800A16E0 ; +0x68, 0x180006f48 lea rcx, [rdi+38h] ; +0x6d, 0x180006f4d call sub_1800A16E0 ; +0x71, 0x180006f51 mov ecx, 1; Count ; +0x76, 0x180006f56 call sub_1800A1920 ; +0x7b, 0x180006f5b mov [rdi+38h], rax ; +0x80, 0x180006f60 mov rdx, rsi ; +0x84, 0x180006f64 mov rcx, rax ; +0x87, 0x180006f67 call sub_1800A12A0 ; +0x8a, 0x180006f6a mov rcx, rdi; this ; +0x8f, 0x180006f6f call ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x92, 0x180006f72 mov rax, rdi ; +0x97, 0x180006f77 mov rbx, [rsp+28h+arg_0] ; +0x9a, 0x180006f7a mov rsi, [rsp+28h+arg_10] ; +0x9f, 0x180006f7f add rsp, 20h ; +0xa4, 0x180006f84 pop rdi ; +0xa8, 0x180006f88 retn ; +0xa9, 0x180006f89