; ; EndLevelLayer::goEdit from 0x140135310 to 0x1401353d4 (196 bytes) ; ; 2 xrefs: ; > EndLevelLayer::onEdit @ 0x1401352cd ; > @ 0x1406c9edc ; ; 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, 0x140135310 mov [rsp+arg_8], rsi ; +0x5, 0x140135315 push rdi ; +0xa, 0x14013531a sub rsp, 20h ; +0xb, 0x14013531b mov rax, [rcx] ; +0xf, 0x14013531f xor edx, edx ; +0x12, 0x140135322 mov rdi, rcx ; +0x14, 0x140135324 call qword ptr [rax+420h] ; +0x17, 0x140135327 mov rcx, [rdi+260h] ; +0x1d, 0x14013532d call cs:?stopAllActions@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::stopAllActions(void) ; +0x24, 0x140135334 mov rcx, [rdi+260h] ; +0x2a, 0x14013533a call cs:?unscheduleAllSelectors@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::unscheduleAllSelectors(void) ; +0x31, 0x140135341 call GJBaseGameLayer__resetAudio ; +0x37, 0x140135347 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x3c, 0x14013534c mov rcx, rax ; +0x42, 0x140135352 mov rdx, [rax] ; +0x45, 0x140135355 call qword ptr [rdx+90h] ; +0x48, 0x140135358 mov rcx, rax ; +0x4e, 0x14013535e mov rdx, rdi ; +0x51, 0x140135361 call cs:?unregisterForcePrio@CCTouchDispatcher@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x54, 0x140135364 mov rax, [rdi+260h] ; +0x5a, 0x14013536a mov dl, 1 ; +0x61, 0x140135371 mov rcx, [rax+878h] ; +0x63, 0x140135373 call GJGameLoadingLayer__transitionToLoadingLayer ; +0x6a, 0x14013537a mov rsi, [rdi+260h] ; +0x6f, 0x14013537f mov rbx, rax ; +0x76, 0x140135386 cmp [rsi+3768h], rax ; +0x79, 0x140135389 jz short loc_1401353B9 ; +0x80, 0x140135390 test rax, rax ; +0x82, 0x140135392 jz short loc_1401353A0 ; +0x85, 0x140135395 mov rcx, rax ; +0x87, 0x140135397 call cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x8a, 0x14013539a mov rcx, [rsi+3768h] ; +0x90, 0x1401353a0 test rcx, rcx ; +0x97, 0x1401353a7 jz short loc_1401353B2 ; +0x9a, 0x1401353aa call cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x9c, 0x1401353ac mov [rsi+3768h], rbx ; +0xa2, 0x1401353b2 mov rbx, [rsp+28h+arg_0] ; +0xa9, 0x1401353b9 mov rsi, [rsp+28h+arg_8] ; +0xae, 0x1401353be mov qword ptr [rdi+260h], 0 ; +0xb3, 0x1401353c3 add rsp, 20h ; +0xbe, 0x1401353ce pop rdi ; +0xc2, 0x1401353d2 retn ; +0xc3, 0x1401353d3