; ; cocos2d::CCLayerMultiplex::createWithArray from 0x1800519c0 to 0x180051a35 (117 bytes) ; ; 2 xrefs: ; > @ 0x18014cf68 ; > @ 0x1801bc118 ; ; 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:45 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x1800519c0 push rdi ; +0x5, 0x1800519c5 sub rsp, 20h ; +0x6, 0x1800519c6 mov rdi, rcx ; +0xa, 0x1800519ca mov ecx, 1A8h; Size ; +0xd, 0x1800519cd call sub_1800E4AC0 ; +0x12, 0x1800519d2 mov [rsp+28h+arg_8], rax ; +0x17, 0x1800519d7 test rax, rax ; +0x1c, 0x1800519dc jz short loc_1800519EE ; +0x1f, 0x1800519df mov rcx, rax; this ; +0x21, 0x1800519e1 call ??0CCLayerMultiplex@cocos2d@@QEAA@XZ; cocos2d::CCLayerMultiplex::CCLayerMultiplex(void) ; +0x24, 0x1800519e4 mov rbx, rax ; +0x29, 0x1800519e9 jmp short loc_1800519F0 ; +0x2c, 0x1800519ec xor ebx, ebx ; +0x2e, 0x1800519ee test rbx, rbx ; +0x30, 0x1800519f0 jz short loc_180051A27 ; +0x33, 0x1800519f3 mov rdx, rdi; struct cocos2d::CCArray * ; +0x35, 0x1800519f5 mov rcx, rbx; this ; +0x38, 0x1800519f8 call ?initWithArray@CCLayerMultiplex@cocos2d@@QEAA_NPEAVCCArray@2@@Z; cocos2d::CCLayerMultiplex::initWithArray(cocos2d::CCArray *) ; +0x3b, 0x1800519fb mov rcx, rbx; this ; +0x40, 0x180051a00 test al, al ; +0x43, 0x180051a03 jz short loc_180051A1A ; +0x45, 0x180051a05 call ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x47, 0x180051a07 mov rax, rbx ; +0x4c, 0x180051a0c mov rbx, [rsp+28h+arg_0] ; +0x4f, 0x180051a0f add rsp, 20h ; +0x54, 0x180051a14 pop rdi ; +0x58, 0x180051a18 retn ; +0x59, 0x180051a19 mov rax, [rbx] ; +0x5a, 0x180051a1a mov edx, 1 ; +0x5d, 0x180051a1d call qword ptr [rax+8] ; +0x62, 0x180051a22 xor ebx, ebx ; +0x65, 0x180051a25 mov rax, rbx ; +0x67, 0x180051a27 mov rbx, [rsp+28h+arg_0] ; +0x6a, 0x180051a2a add rsp, 20h ; +0x6f, 0x180051a2f pop rdi ; +0x73, 0x180051a33 retn ; +0x74, 0x180051a34