; ; cocos2d::CCDirector::levelForSceneInStack from 0x1800bea90 to 0x1800beae0 (80 bytes) ; ; 1 xrefs: ; > @ 0x1801438a8 ; ; 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 ; mov rax, [rcx+120h] ; +0x0, 0x1800bea90 xor r8d, r8d ; +0x7, 0x1800bea97 mov r9, rdx ; +0xa, 0x1800bea9a test rax, rax ; +0xd, 0x1800bea9d jz short loc_1800BEAD9 ; +0x10, 0x1800beaa0 mov rax, [rax+38h] ; +0x12, 0x1800beaa2 mov ecx, [rax] ; +0x16, 0x1800beaa6 test ecx, ecx ; +0x18, 0x1800beaa8 jz short loc_1800BEAD9 ; +0x1a, 0x1800beaaa mov rax, [rax+10h] ; +0x1c, 0x1800beaac lea rdx, [rcx-1] ; +0x20, 0x1800beab0 lea rdx, [rax+rdx*8] ; +0x24, 0x1800beab4 cmp rax, rdx ; +0x28, 0x1800beab8 ja short loc_1800BEAD9 ; +0x2b, 0x1800beabb nop dword ptr [rax] ; +0x2d, 0x1800beabd mov rcx, [rax] ; +0x30, 0x1800beac0 test rcx, rcx ; +0x33, 0x1800beac3 jz short loc_1800BEAD9 ; +0x36, 0x1800beac6 inc r8d ; +0x38, 0x1800beac8 cmp rcx, r9 ; +0x3b, 0x1800beacb jz short loc_1800BEADC ; +0x3e, 0x1800beace add rax, 8 ; +0x40, 0x1800bead0 cmp rax, rdx ; +0x44, 0x1800bead4 jbe short loc_1800BEAC0 ; +0x47, 0x1800bead7 xor eax, eax ; +0x49, 0x1800bead9 retn ; +0x4b, 0x1800beadb mov eax, r8d ; +0x4c, 0x1800beadc retn ; +0x4f, 0x1800beadf