; ; GJGameLoadingLayer::transitionToLoadingLayer from 0x140248e20 to 0x140249003 (483 bytes) ; ; 4 xrefs: ; > EditorPauseLayer::playStep3 @ 0x1400de0db ; > EndLevelLayer::goEdit @ 0x14013537a ; > PauseLayer::goEdit @ 0x14037e976 ; > @ 0x1406ce7d8 ; ; 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, 0x140248e20 push rsi ; +0x5, 0x140248e25 push rdi ; +0x6, 0x140248e26 push r14 ; +0x7, 0x140248e27 sub rsp, 30h ; +0x9, 0x140248e29 movzx edi, dl ; +0xd, 0x140248e2d mov rbx, rcx ; +0x10, 0x140248e30 call cs:?create@CCScene@cocos2d@@SAPEAV12@XZ; cocos2d::CCScene::create(void) ; +0x13, 0x140248e33 mov r14, rax ; +0x19, 0x140248e39 call cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x1c, 0x140248e3c mov [rax+0E0h], r14 ; +0x22, 0x140248e42 mov ecx, 1A8h; Size ; +0x29, 0x140248e49 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x2e, 0x140248e4e mov rsi, rax ; +0x33, 0x140248e53 mov [rsp+48h+arg_10], rax ; +0x36, 0x140248e56 mov rcx, rax ; +0x3b, 0x140248e5b call cs:??0CCLayer@cocos2d@@QEAA@XZ; cocos2d::CCLayer::CCLayer(void) ; +0x3e, 0x140248e5e lea rax, ??_7GJGameLoadingLayer@@6B@; const GJGameLoadingLayer::`vftable' ; +0x44, 0x140248e64 mov [rsi], rax ; +0x4b, 0x140248e6b lea rax, ??_7GJGameLoadingLayer@@6B@_0; const GJGameLoadingLayer::`vftable' ; +0x4e, 0x140248e6e mov [rsi+140h], rax ; +0x55, 0x140248e75 lea rax, ??_7GJGameLoadingLayer@@6B@_1; const GJGameLoadingLayer::`vftable' ; +0x5c, 0x140248e7c mov [rsi+148h], rax ; +0x63, 0x140248e83 lea rax, ??_7GJGameLoadingLayer@@6B@_2; const GJGameLoadingLayer::`vftable' ; +0x6a, 0x140248e8a mov [rsi+150h], rax ; +0x71, 0x140248e91 lea rax, ??_7GJGameLoadingLayer@@6B@_3; const GJGameLoadingLayer::`vftable' ; +0x78, 0x140248e98 mov [rsi+158h], rax ; +0x7f, 0x140248e9f lea rax, ??_7GJGameLoadingLayer@@6B@_4; const GJGameLoadingLayer::`vftable' ; +0x86, 0x140248ea6 mov [rsi+160h], rax ; +0x8d, 0x140248ead mov qword ptr [rsi+198h], 0 ; +0x94, 0x140248eb4 mov byte ptr [rsi+1A0h], 0 ; +0x9f, 0x140248ebf mov rcx, rsi ; +0xa6, 0x140248ec6 call cs:__imp_?init@CCLayer@cocos2d@@UEAA_NXZ; cocos2d::CCLayer::init(void) ; +0xa9, 0x140248ec9 test al, al ; +0xaf, 0x140248ecf jz loc_140248FA4 ; +0xb1, 0x140248ed1 test rbx, rbx ; +0xb7, 0x140248ed7 jz short loc_140248EEC ; +0xba, 0x140248eda mov [rsi+198h], rbx ; +0xbc, 0x140248edc mov rcx, rbx ; +0xc3, 0x140248ee3 call cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0xc6, 0x140248ee6 mov [rsi+1A0h], dil ; +0xcc, 0x140248eec call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0xd3, 0x140248ef3 mov rcx, rax ; +0xd9, 0x140248ef9 lea rdx, [rsp+48h+arg_10] ; +0xdc, 0x140248efc call cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0xe1, 0x140248f01 lea rdx, qword_14052A4D8 ; +0xe7, 0x140248f07 lea rcx, aLoading; "Loading..." ; +0xee, 0x140248f0e call cs:?create@CCLabelBMFont@cocos2d@@SAPEAV12@PEBD0@Z; cocos2d::CCLabelBMFont::create(char const *,char const *) ; +0xf5, 0x140248f15 mov rdi, rax ; +0xfb, 0x140248f1b mov rdx, [rax] ; +0xfe, 0x140248f1e movss xmm1, cs:dword_140622B74 ; +0x101, 0x140248f21 mov rcx, rax ; +0x109, 0x140248f29 call qword ptr [rdx+0A0h] ; +0x10c, 0x140248f2c mov r9, [rsi] ; +0x112, 0x140248f32 mov r8d, 1 ; +0x115, 0x140248f35 mov rdx, rdi ; +0x11b, 0x140248f3b mov rcx, rsi ; +0x11e, 0x140248f3e call qword ptr [r9+1B8h] ; +0x121, 0x140248f41 mov rbx, [rdi] ; +0x128, 0x140248f48 xorps xmm2, xmm2 ; +0x12b, 0x140248f4b movss xmm1, cs:flt_140622C24 ; +0x12e, 0x140248f4e lea rcx, [rsp+48h+arg_18] ; +0x136, 0x140248f56 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x13b, 0x140248f5b mov rdx, rax ; +0x141, 0x140248f61 mov rcx, rdi ; +0x144, 0x140248f64 call qword ptr [rbx+110h] ; +0x147, 0x140248f67 mov rbx, [rdi] ; +0x14d, 0x140248f6d movss xmm1, dword ptr [rsp+48h+arg_10] ; +0x150, 0x140248f70 movss xmm2, cs:dword_140623120 ; +0x156, 0x140248f76 subss xmm1, xmm2 ; +0x15e, 0x140248f7e lea rcx, [rsp+48h+var_28] ; +0x162, 0x140248f82 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x167, 0x140248f87 mov rdx, rax ; +0x16d, 0x140248f8d mov rcx, rdi ; +0x170, 0x140248f90 call qword ptr [rbx+0B8h] ; +0x173, 0x140248f93 mov rcx, rsi ; +0x179, 0x140248f99 call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x17c, 0x140248f9c jmp short loc_140248FB4 ; +0x182, 0x140248fa2 mov rax, [rsi] ; +0x184, 0x140248fa4 mov edx, 1 ; +0x187, 0x140248fa7 mov rcx, rsi ; +0x18c, 0x140248fac call qword ptr [rax+8] ; +0x18f, 0x140248faf xor esi, esi ; +0x192, 0x140248fb2 mov r8, [r14] ; +0x194, 0x140248fb4 mov rdx, rsi ; +0x197, 0x140248fb7 mov rcx, r14 ; +0x19a, 0x140248fba call qword ptr [r8+1C0h] ; +0x19d, 0x140248fbd mov dword ptr [r14+1Ch], 5 ; +0x1a4, 0x140248fc4 mov rdx, r14 ; +0x1ac, 0x140248fcc movss xmm0, cs:dword_140622A10 ; +0x1af, 0x140248fcf call cs:?create@CCTransitionFade@cocos2d@@SAPEAV12@MPEAVCCScene@2@@Z; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x1b7, 0x140248fd7 mov rbx, rax ; +0x1bd, 0x140248fdd call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x1c0, 0x140248fe0 mov rcx, rax ; +0x1c6, 0x140248fe6 mov rdx, rbx ; +0x1c9, 0x140248fe9 call cs:?replaceScene@CCDirector@cocos2d@@QEAA_NPEAVCCScene@2@@Z; cocos2d::CCDirector::replaceScene(cocos2d::CCScene *) ; +0x1cc, 0x140248fec mov rax, rsi ; +0x1d2, 0x140248ff2 mov rbx, [rsp+48h+arg_0] ; +0x1d5, 0x140248ff5 add rsp, 30h ; +0x1da, 0x140248ffa pop r14 ; +0x1de, 0x140248ffe pop rdi ; +0x1e0, 0x140249000 pop rsi ; +0x1e1, 0x140249001 retn ; +0x1e2, 0x140249002