; ; cocos2d::CCDirector::popToSceneInStack from 0x1800c2530 to 0x1800c2598 (104 bytes) ; ; 2 xrefs: ; > @ 0x18014cf68 ; > @ 0x1801c34f8 ; ; 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, 0x1800c2530 mov rax, [rcx+128h] ; +0x2, 0x1800c2532 xor ebx, ebx ; +0x9, 0x1800c2539 xor r10b, r10b ; +0xb, 0x1800c253b mov r9, rdx ; +0xe, 0x1800c253e mov r11, rcx ; +0x11, 0x1800c2541 mov edx, ebx ; +0x14, 0x1800c2544 test rax, rax ; +0x16, 0x1800c2546 jz short loc_1800C2583 ; +0x19, 0x1800c2549 mov rcx, [rax+38h] ; +0x1b, 0x1800c254b mov eax, [rcx] ; +0x1f, 0x1800c254f test eax, eax ; +0x21, 0x1800c2551 jz short loc_1800C2583 ; +0x23, 0x1800c2553 mov rcx, [rcx+10h] ; +0x25, 0x1800c2555 lea r8, [rax-1] ; +0x29, 0x1800c2559 lea r8, [rcx+r8*8] ; +0x2d, 0x1800c255d cmp rcx, r8 ; +0x31, 0x1800c2561 ja short loc_1800C2583 ; +0x34, 0x1800c2564 mov rax, [rcx] ; +0x36, 0x1800c2566 test rax, rax ; +0x39, 0x1800c2569 jz short loc_1800C2583 ; +0x3c, 0x1800c256c inc edx ; +0x3e, 0x1800c256e cmp rax, r9 ; +0x40, 0x1800c2570 jz short loc_1800C2580 ; +0x43, 0x1800c2573 add rcx, 8 ; +0x45, 0x1800c2575 cmp rcx, r8 ; +0x49, 0x1800c2579 jbe short loc_1800C2566 ; +0x4c, 0x1800c257c pop rbx ; +0x4e, 0x1800c257e retn ; +0x4f, 0x1800c257f mov r10b, 1 ; +0x50, 0x1800c2580 test r10b, r10b ; +0x53, 0x1800c2583 cmovz edx, ebx; int ; +0x56, 0x1800c2586 test edx, edx ; +0x59, 0x1800c2589 jle short loc_1800C2596 ; +0x5b, 0x1800c258b mov rcx, r11; this ; +0x5d, 0x1800c258d pop rbx ; +0x60, 0x1800c2590 jmp ?popToSceneStackLevel@CCDirector@cocos2d@@QEAAXH@Z; cocos2d::CCDirector::popToSceneStackLevel(int) ; +0x61, 0x1800c2591 pop rbx ; +0x66, 0x1800c2596 retn ; +0x67, 0x1800c2597