; ; cocos2d::CCLayerMultiplex::switchToAndReleaseMe from 0x180052f70 to 0x180053002 (146 bytes) ; ; 2 xrefs: ; > @ 0x18014cf68 ; > @ 0x1801bc43c ; ; 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:46 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x180052f70 mov [rsp+arg_8], rsi ; +0x5, 0x180052f75 push rdi ; +0xa, 0x180052f7a sub rsp, 20h ; +0xb, 0x180052f7b mov rsi, rcx ; +0xf, 0x180052f7f mov edi, edx ; +0x12, 0x180052f82 mov rcx, [rcx+1A0h]; this ; +0x14, 0x180052f84 call ?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1b, 0x180052f8b mov edx, [rsi+198h]; unsigned int ; +0x20, 0x180052f90 mov rcx, [rsi+1A0h]; this ; +0x26, 0x180052f96 mov rbx, [rsi] ; +0x2d, 0x180052f9d call ?stringAtIndex@CCArray@cocos2d@@QEAAPEAVCCString@2@I@Z; cocos2d::CCArray::stringAtIndex(uint) ; +0x30, 0x180052fa0 mov rdx, rax ; +0x35, 0x180052fa5 mov r8b, 1 ; +0x38, 0x180052fa8 mov rcx, rsi ; +0x3b, 0x180052fab call qword ptr [rbx+218h] ; +0x3e, 0x180052fae mov edx, [rsi+198h]; unsigned int ; +0x44, 0x180052fb4 mov r9b, 1; bool ; +0x4a, 0x180052fba mov rcx, [rsi+1A0h]; this ; +0x4d, 0x180052fbd xor r8d, r8d; struct cocos2d::CCObject * ; +0x54, 0x180052fc4 call ?replaceObjectAtIndex@CCArray@cocos2d@@QEAAXIPEAVCCObject@2@_N@Z; cocos2d::CCArray::replaceObjectAtIndex(uint,cocos2d::CCObject *,bool) ; +0x57, 0x180052fc7 mov rcx, [rsi+1A0h]; this ; +0x5c, 0x180052fcc mov edx, edi; unsigned int ; +0x63, 0x180052fd3 mov rbx, [rsi] ; +0x65, 0x180052fd5 mov [rsi+198h], edi ; +0x68, 0x180052fd8 call ?stringAtIndex@CCArray@cocos2d@@QEAAPEAVCCString@2@I@Z; cocos2d::CCArray::stringAtIndex(uint) ; +0x6e, 0x180052fde mov rdx, rax ; +0x73, 0x180052fe3 mov rcx, rsi ; +0x76, 0x180052fe6 mov rax, [rbx+1D0h] ; +0x79, 0x180052fe9 mov rbx, [rsp+28h+arg_0] ; +0x80, 0x180052ff0 mov rsi, [rsp+28h+arg_8] ; +0x85, 0x180052ff5 add rsp, 20h ; +0x8a, 0x180052ffa pop rdi ; +0x8e, 0x180052ffe jmp rax ; +0x8f, 0x180052fff