; ; CreatorLayer::onMapPacks from 0x140137980 to 0x140137a41 (193 bytes) ; ; 2 xrefs: ; > CreatorLayer::init @ 0x140135e38 ; > @ 0x140917168 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:27:05 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x140137980 push rdi ; +0x5, 0x140137985 sub rsp, 20h ; +0x6, 0x140137986 mov ecx, 9 ; +0xa, 0x14013798a call GJSearchObject__create_2 ; +0xf, 0x14013798f mov rbx, rax ; +0x14, 0x140137994 call cs:?create@CCScene@cocos2d@@SAPEAV12@XZ; cocos2d::CCScene::create(void) ; +0x17, 0x140137997 mov rdi, rax ; +0x1d, 0x14013799d call cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x20, 0x1401379a0 mov [rax+0E8h], rdi ; +0x26, 0x1401379a6 mov rcx, rbx ; +0x2d, 0x1401379ad call LevelBrowserLayer__create ; +0x30, 0x1401379b0 mov rcx, [rdi] ; +0x35, 0x1401379b5 mov r8, [rcx+1D0h] ; +0x38, 0x1401379b8 mov rdx, rax ; +0x3f, 0x1401379bf mov rcx, rdi ; +0x42, 0x1401379c2 call r8 ; +0x45, 0x1401379c5 mov rdx, rdi ; +0x48, 0x1401379c8 movss xmm0, cs:dword_140834F20 ; +0x4b, 0x1401379cb call cs:?create@CCTransitionFade@cocos2d@@SAPEAV12@MPEAVCCScene@2@@Z; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x53, 0x1401379d3 mov rbx, rax ; +0x59, 0x1401379d9 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x5c, 0x1401379dc mov rcx, rax ; +0x62, 0x1401379e2 mov rdx, rbx ; +0x65, 0x1401379e5 call cs:?pushScene@CCDirector@cocos2d@@QEAA_NPEAVCCScene@2@@Z; cocos2d::CCDirector::pushScene(cocos2d::CCScene *) ; +0x68, 0x1401379e8 mov rax, cs:qword_14090BFD0 ; +0x6e, 0x1401379ee test rax, rax ; +0x75, 0x1401379f5 jnz short loc_140137A2C ; +0x78, 0x1401379f8 mov ecx, 6E8h; Size ; +0x7a, 0x1401379fa call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x7f, 0x1401379ff mov [rsp+28h+arg_10], rax ; +0x84, 0x140137a04 mov rcx, rax ; +0x89, 0x140137a09 call GameManager__GameManager ; +0x8c, 0x140137a0c nop ; +0x91, 0x140137a11 mov cs:qword_14090BFD0, rax ; +0x92, 0x140137a12 mov rcx, [rax] ; +0x99, 0x140137a19 mov rdx, [rcx+48h] ; +0x9c, 0x140137a1c mov rcx, rax ; +0xa0, 0x140137a20 call rdx ; +0xa3, 0x140137a23 mov rax, cs:qword_14090BFD0 ; +0xa5, 0x140137a25 mov dword ptr [rax+2E4h], 1 ; +0xac, 0x140137a2c mov rbx, [rsp+28h+arg_0] ; +0xb6, 0x140137a36 add rsp, 20h ; +0xbb, 0x140137a3b pop rdi ; +0xbf, 0x140137a3f retn ; +0xc0, 0x140137a40