; ; CreatorLayer::onGauntlets from 0x140137a50 to 0x140137b46 (246 bytes) ; ; 2 xrefs: ; > CreatorLayer::init @ 0x140135d0a ; > @ 0x140917174 ; ; 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 ; push rbx ; +0x0, 0x140137a50 sub rsp, 20h ; +0x2, 0x140137a52 mov rbx, rcx ; +0x6, 0x140137a56 mov rdx, cs:qword_14090BFB0 ; +0x9, 0x140137a59 test rdx, rdx ; +0x10, 0x140137a60 jnz short loc_140137A97 ; +0x13, 0x140137a63 mov ecx, 690h; Size ; +0x15, 0x140137a65 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x1a, 0x140137a6a mov [rsp+28h+arg_0], rax ; +0x1f, 0x140137a6f mov rcx, rax ; +0x24, 0x140137a74 call GameLevelManager__GameLevelManager ; +0x27, 0x140137a77 nop ; +0x2c, 0x140137a7c mov cs:qword_14090BFB0, rax ; +0x2d, 0x140137a7d mov rcx, [rax] ; +0x34, 0x140137a84 mov rdx, [rcx+48h] ; +0x37, 0x140137a87 mov rcx, rax ; +0x3b, 0x140137a8b call rdx ; +0x3e, 0x140137a8e mov rdx, cs:qword_14090BFB0 ; +0x40, 0x140137a90 mov eax, [rdx+400h] ; +0x47, 0x140137a97 cmp [rdx+3E8h], eax ; +0x4d, 0x140137a9d jle short loc_140137AAC ; +0x53, 0x140137aa3 mov byte ptr [rdx+628h], 1 ; +0x55, 0x140137aa5 mov eax, [rdx+3E8h] ; +0x5c, 0x140137aac mov [rdx+400h], eax ; +0x62, 0x140137ab2 mov rcx, [rbx+1D8h] ; +0x68, 0x140137ab8 test rcx, rcx ; +0x6f, 0x140137abf jz short loc_140137ACD ; +0x72, 0x140137ac2 mov rax, [rcx] ; +0x74, 0x140137ac4 call qword ptr [rax+238h] ; +0x77, 0x140137ac7 call GauntletSelectLayer__scene ; +0x7d, 0x140137acd mov rdx, rax ; +0x82, 0x140137ad2 movss xmm0, cs:dword_140834F20 ; +0x85, 0x140137ad5 call cs:?create@CCTransitionFade@cocos2d@@SAPEAV12@MPEAVCCScene@2@@Z; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x8d, 0x140137add mov rbx, rax ; +0x93, 0x140137ae3 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x96, 0x140137ae6 mov rcx, rax ; +0x9c, 0x140137aec mov rdx, rbx ; +0x9f, 0x140137aef call cs:?pushScene@CCDirector@cocos2d@@QEAA_NPEAVCCScene@2@@Z; cocos2d::CCDirector::pushScene(cocos2d::CCScene *) ; +0xa2, 0x140137af2 mov rax, cs:qword_14090BFD0 ; +0xa8, 0x140137af8 test rax, rax ; +0xaf, 0x140137aff jnz short loc_140137B36 ; +0xb2, 0x140137b02 mov ecx, 6E8h; Size ; +0xb4, 0x140137b04 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xb9, 0x140137b09 mov [rsp+28h+arg_0], rax ; +0xbe, 0x140137b0e mov rcx, rax ; +0xc3, 0x140137b13 call GameManager__GameManager ; +0xc6, 0x140137b16 nop ; +0xcb, 0x140137b1b mov cs:qword_14090BFD0, rax ; +0xcc, 0x140137b1c mov rcx, [rax] ; +0xd3, 0x140137b23 mov rdx, [rcx+48h] ; +0xd6, 0x140137b26 mov rcx, rax ; +0xda, 0x140137b2a call rdx ; +0xdd, 0x140137b2d mov rax, cs:qword_14090BFD0 ; +0xdf, 0x140137b2f mov dword ptr [rax+2E4h], 1 ; +0xe6, 0x140137b36 add rsp, 20h ; +0xf0, 0x140137b40 pop rbx ; +0xf4, 0x140137b44 retn ; +0xf5, 0x140137b45