; ; CreatorLayer::onMyLevels from 0x100298b70 to 0x100298c44 (212 bytes) ; ; 1 xrefs: ; > CreatorLayer::init @ 0x100297c7b ; ; 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 rbp ; +0x0, 0x100298b70 mov rbp, rsp ; +0x1, 0x100298b71 push r14 ; +0x4, 0x100298b74 push rbx ; +0x6, 0x100298b76 call GameManager__sharedState ; +0x7, 0x100298b77 mov r14d, [rax+4B0h] ; +0xc, 0x100298b7c xor eax, eax ; +0x13, 0x100298b83 cmp r14d, 66h ; 'f' ; +0x15, 0x100298b85 setz al ; +0x19, 0x100298b89 lea edi, ds:62h[rax*4] ; +0x1c, 0x100298b8c call GJSearchObject__create_2 ; +0x23, 0x100298b93 mov rbx, rax ; +0x28, 0x100298b98 cmp r14d, 66h ; 'f' ; +0x2b, 0x100298b9b jz short loc_100298C15 ; +0x2f, 0x100298b9f call GameManager__sharedState ; +0x31, 0x100298ba1 lea rsi, a0091; "0091" ; +0x36, 0x100298ba6 mov rdi, rax ; +0x3d, 0x100298bad call GameManager__getIntGameVariable ; +0x40, 0x100298bb0 cmp eax, 3E6h ; +0x45, 0x100298bb5 jg short loc_100298BD4 ; +0x4a, 0x100298bba call GameManager__sharedState ; +0x4c, 0x100298bbc lea rsi, a0091; "0091" ; +0x51, 0x100298bc1 mov rdi, rax ; +0x58, 0x100298bc8 call GameManager__getIntGameVariable ; +0x5b, 0x100298bcb test eax, eax ; +0x60, 0x100298bd0 jle short loc_100298C0D ; +0x62, 0x100298bd2 call GameManager__sharedState ; +0x64, 0x100298bd4 lea rsi, a0091; "0091" ; +0x69, 0x100298bd9 mov rdi, rax ; +0x70, 0x100298be0 call GameManager__getIntGameVariable ; +0x73, 0x100298be3 mov ecx, eax ; +0x78, 0x100298be8 mov eax, 3E7h ; +0x7a, 0x100298bea cmp ecx, 3E6h ; +0x7f, 0x100298bef jg short loc_100298C0F ; +0x85, 0x100298bf5 call GameManager__sharedState ; +0x87, 0x100298bf7 lea rsi, a0091; "0091" ; +0x8c, 0x100298bfc mov rdi, rax ; +0x93, 0x100298c03 call GameManager__getIntGameVariable ; +0x96, 0x100298c06 jmp short loc_100298C0F ; +0x9b, 0x100298c0b xor eax, eax ; +0x9d, 0x100298c0d mov [rbx+1A4h], eax ; +0x9f, 0x100298c0f call cocos2d__CCDirector__sharedDirector ; +0xa5, 0x100298c15 mov r14, rax ; +0xaa, 0x100298c1a mov rdi, rbx ; +0xad, 0x100298c1d call LevelBrowserLayer__scene ; +0xb0, 0x100298c20 movss xmm0, cs:dword_100814FA8 ; +0xb5, 0x100298c25 mov rdi, rax ; +0xbd, 0x100298c2d call cocos2d__CCTransitionFade__create_1 ; +0xc0, 0x100298c30 mov rdi, r14 ; +0xc5, 0x100298c35 mov rsi, rax ; +0xc8, 0x100298c38 pop rbx ; +0xcb, 0x100298c3b pop r14 ; +0xcc, 0x100298c3c pop rbp ; +0xce, 0x100298c3e jmp cocos2d__CCDirector__pushScene ; +0xcf, 0x100298c3f