; ; cocos2d::CCLayerMultiplex::initWithArray from 0x18004ffe0 to 0x180050099 (185 bytes) ; ; 5 xrefs: ; > cocos2d::CCLayerMultiplex::createWithArray @ 0x18004fbdb ; > @ 0x1801384a0 ; > @ 0x1801384b0 ; > @ 0x1801438a8 ; > @ 0x1801b1f20 ; ; 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 ; mov [rsp+arg_8], rsi ; +0x0, 0x18004ffe0 push rdi ; +0x5, 0x18004ffe5 sub rsp, 20h ; +0x6, 0x18004ffe6 mov rsi, rdx ; +0xa, 0x18004ffea mov rdi, rcx ; +0xd, 0x18004ffed call ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x10, 0x18004fff0 test rax, rax ; +0x15, 0x18004fff5 jz loc_18005008E ; +0x18, 0x18004fff8 mov [rsp+28h+arg_0], rbx ; +0x1e, 0x18004fffe lea rdx, [rsp+28h+arg_10] ; +0x23, 0x180050003 mov rbx, [rdi] ; +0x28, 0x180050008 mov rcx, rax ; +0x2b, 0x18005000b call ?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x2e, 0x18005000e mov rdx, rax ; +0x33, 0x180050013 mov rcx, rdi ; +0x36, 0x180050016 call qword ptr [rbx+128h] ; +0x39, 0x180050019 mov rcx, rsi; this ; +0x3f, 0x18005001f mov word ptr [rdi+168h], 0 ; +0x42, 0x180050022 call ?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x4b, 0x18005002b mov ecx, eax; Count ; +0x50, 0x180050030 call ?createWithCapacity@CCArray@cocos2d@@SAPEAV12@I@Z; cocos2d::CCArray::createWithCapacity(uint) ; +0x52, 0x180050032 mov rdx, rsi; struct cocos2d::CCArray * ; +0x57, 0x180050037 mov [rdi+1A0h], rax ; +0x5a, 0x18005003a mov rcx, rax; this ; +0x61, 0x180050041 call ?addObjectsFromArray@CCArray@cocos2d@@QEAAXPEAV12@@Z; cocos2d::CCArray::addObjectsFromArray(cocos2d::CCArray *) ; +0x64, 0x180050044 mov rcx, [rdi+1A0h]; this ; +0x69, 0x180050049 call ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x70, 0x180050050 mov rcx, [rdi+1A0h]; this ; +0x75, 0x180050055 xor edx, edx; unsigned int ; +0x7c, 0x18005005c mov rbx, [rdi] ; +0x7e, 0x18005005e mov dword ptr [rdi+198h], 0 ; +0x81, 0x180050061 call ?stringAtIndex@CCArray@cocos2d@@QEAAPEAVCCString@2@I@Z; cocos2d::CCArray::stringAtIndex(uint) ; +0x8b, 0x18005006b mov rdx, rax ; +0x90, 0x180050070 mov rcx, rdi ; +0x93, 0x180050073 call qword ptr [rbx+1C0h] ; +0x96, 0x180050076 mov rbx, [rsp+28h+arg_0] ; +0x9c, 0x18005007c mov al, 1 ; +0xa1, 0x180050081 mov rsi, [rsp+28h+arg_8] ; +0xa3, 0x180050083 add rsp, 20h ; +0xa8, 0x180050088 pop rdi ; +0xac, 0x18005008c retn ; +0xad, 0x18005008d mov rsi, [rsp+28h+arg_8] ; +0xae, 0x18005008e add rsp, 20h ; +0xb3, 0x180050093 pop rdi ; +0xb7, 0x180050097 retn ; +0xb8, 0x180050098