; ; cocos2d::CCDirector::popScene from 0x1800c23c0 to 0x1800c2438 (120 bytes) ; ; 2 xrefs: ; > @ 0x18014cf68 ; > @ 0x1801c34e0 ; ; 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:22:25 +0000 ; push rbx ; +0x0, 0x1800c23c0 sub rsp, 20h ; +0x2, 0x1800c23c2 cmp qword ptr [rcx+60h], 0 ; +0x6, 0x1800c23c6 mov rbx, rcx ; +0xb, 0x1800c23cb jz short loc_1800C23EA ; +0xe, 0x1800c23ce mov rcx, [rcx+128h]; this ; +0x10, 0x1800c23d0 call ?lastObject@CCArray@cocos2d@@QEAAPEAVCCObject@2@XZ; cocos2d::CCArray::lastObject(void) ; +0x17, 0x1800c23d7 cmp [rbx+60h], rax ; +0x1c, 0x1800c23dc jnz short loc_1800C23EA ; +0x20, 0x1800c23e0 mov qword ptr [rbx+60h], 0 ; +0x22, 0x1800c23e2 mov rcx, [rbx+128h]; this ; +0x2a, 0x1800c23ea mov dl, 1; bool ; +0x31, 0x1800c23f1 call ?removeLastObject@CCArray@cocos2d@@QEAAX_N@Z; cocos2d::CCArray::removeLastObject(bool) ; +0x33, 0x1800c23f3 mov rcx, [rbx+128h]; this ; +0x38, 0x1800c23f8 call ?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x3f, 0x1800c23ff test eax, eax ; +0x44, 0x1800c2404 jnz short loc_1800C2415 ; +0x46, 0x1800c2406 mov byte ptr [rbx+0B8h], 1 ; +0x48, 0x1800c2408 add rsp, 20h ; +0x4f, 0x1800c240f pop rbx ; +0x53, 0x1800c2413 retn ; +0x54, 0x1800c2414 mov rcx, [rbx+128h]; this ; +0x55, 0x1800c2415 lea edx, [rax-1]; unsigned int ; +0x5c, 0x1800c241c mov byte ptr [rbx+120h], 1 ; +0x5f, 0x1800c241f call ?stringAtIndex@CCArray@cocos2d@@QEAAPEAVCCString@2@I@Z; cocos2d::CCArray::stringAtIndex(uint) ; +0x66, 0x1800c2426 mov [rbx+118h], rax ; +0x6b, 0x1800c242b add rsp, 20h ; +0x72, 0x1800c2432 pop rbx ; +0x76, 0x1800c2436 retn ; +0x77, 0x1800c2437