; ; cocos2d::CCDirector::popScene from 0x1800beb70 to 0x1800bebe8 (120 bytes) ; ; 2 xrefs: ; > @ 0x1801438a8 ; > @ 0x1801b921c ; ; 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 ; push rbx ; +0x0, 0x1800beb70 sub rsp, 20h ; +0x2, 0x1800beb72 cmp qword ptr [rcx+60h], 0 ; +0x6, 0x1800beb76 mov rbx, rcx ; +0xb, 0x1800beb7b jz short loc_1800BEB9A ; +0xe, 0x1800beb7e mov rcx, [rcx+120h]; this ; +0x10, 0x1800beb80 call ?lastObject@CCArray@cocos2d@@QEAAPEAVCCObject@2@XZ; cocos2d::CCArray::lastObject(void) ; +0x17, 0x1800beb87 cmp [rbx+60h], rax ; +0x1c, 0x1800beb8c jnz short loc_1800BEB9A ; +0x20, 0x1800beb90 mov qword ptr [rbx+60h], 0 ; +0x22, 0x1800beb92 mov rcx, [rbx+120h]; this ; +0x2a, 0x1800beb9a mov dl, 1; bool ; +0x31, 0x1800beba1 call ?removeLastObject@CCArray@cocos2d@@QEAAX_N@Z; cocos2d::CCArray::removeLastObject(bool) ; +0x33, 0x1800beba3 mov rcx, [rbx+120h]; this ; +0x38, 0x1800beba8 call ?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x3f, 0x1800bebaf test eax, eax ; +0x44, 0x1800bebb4 jnz short loc_1800BEBC5 ; +0x46, 0x1800bebb6 mov byte ptr [rbx+0B0h], 1 ; +0x48, 0x1800bebb8 add rsp, 20h ; +0x4f, 0x1800bebbf pop rbx ; +0x53, 0x1800bebc3 retn ; +0x54, 0x1800bebc4 mov rcx, [rbx+120h]; this ; +0x55, 0x1800bebc5 lea edx, [rax-1]; unsigned int ; +0x5c, 0x1800bebcc mov byte ptr [rbx+118h], 1 ; +0x5f, 0x1800bebcf call ?stringAtIndex@CCArray@cocos2d@@QEAAPEAVCCString@2@I@Z; cocos2d::CCArray::stringAtIndex(uint) ; +0x66, 0x1800bebd6 mov [rbx+110h], rax ; +0x6b, 0x1800bebdb add rsp, 20h ; +0x72, 0x1800bebe2 pop rbx ; +0x76, 0x1800bebe6 retn ; +0x77, 0x1800bebe7