; ; GJGameLoadingLayer::loadLevel from 0x140249010 to 0x1402490a4 (148 bytes) ; ; 2 xrefs: ; > GJBaseGameLayer::dGJBaseGameLayer @ 0x140206127 ; > @ 0x1406ce7e4 ; ; 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 [rsp+arg_0], rbx ; +0x0, 0x140249010 push rdi ; +0x5, 0x140249015 sub rsp, 20h ; +0x6, 0x140249016 cmp byte ptr [rcx+1A0h], 0 ; +0xa, 0x14024901a mov rdi, [rcx+198h] ; +0x11, 0x140249021 jz short loc_140249066 ; +0x18, 0x140249028 call cs:?create@CCScene@cocos2d@@SAPEAV12@XZ; cocos2d::CCScene::create(void) ; +0x1a, 0x14024902a mov rbx, rax ; +0x20, 0x140249030 call cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x23, 0x140249033 xor edx, edx ; +0x29, 0x140249039 mov rcx, rdi ; +0x2b, 0x14024903b mov [rax+0E0h], rbx ; +0x2e, 0x14024903e call LevelEditorLayer__create ; +0x35, 0x140249045 mov r8, [rbx] ; +0x3a, 0x14024904a mov rdx, rax ; +0x3d, 0x14024904d mov rcx, rbx ; +0x40, 0x140249050 call qword ptr [r8+1C0h] ; +0x43, 0x140249053 mov rdx, rbx ; +0x4a, 0x14024905a mov dword ptr [rbx+1Ch], 6 ; +0x4d, 0x14024905d jmp short loc_140249076 ; +0x54, 0x140249064 xor r8d, r8d ; +0x56, 0x140249066 xor edx, edx ; +0x59, 0x140249069 mov rcx, rdi ; +0x5b, 0x14024906b call PlayLayer__scene ; +0x5e, 0x14024906e mov rdx, rax ; +0x63, 0x140249073 movss xmm0, cs:dword_140622AD0 ; +0x66, 0x140249076 call cs:?create@CCTransitionFade@cocos2d@@SAPEAV12@MPEAVCCScene@2@@Z; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x6e, 0x14024907e mov rbx, rax ; +0x74, 0x140249084 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x77, 0x140249087 mov rcx, rax ; +0x7d, 0x14024908d mov rdx, rbx ; +0x80, 0x140249090 mov rbx, [rsp+28h+arg_0] ; +0x83, 0x140249093 add rsp, 20h ; +0x88, 0x140249098 pop rdi ; +0x8c, 0x14024909c jmp cs:?replaceScene@CCDirector@cocos2d@@QEAA_NPEAVCCScene@2@@Z; cocos2d::CCDirector::replaceScene(cocos2d::CCScene *) ; +0x8d, 0x14024909d