; ; CreatorLayer::scene from 0x140135510 to 0x1401356a7 (407 bytes) ; ; 7 xrefs: ; > GameManager::returnToLastScene @ 0x140287335 ; > GameManager::returnToLastScene @ 0x1402874d8 ; > GauntletSelectLayer::onBack @ 0x1402ff622 ; > MenuLayer::onCreator @ 0x140474f59 ; > SecretRewardsLayer::onBack @ 0x14056d8a3 ; > SecretLayer2::onBack @ 0x14057f4a0 ; > @ 0x1409170fc ; ; 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:04 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x140135510 mov [rsp+arg_10], rsi ; +0x5, 0x140135515 push rdi ; +0xa, 0x14013551a sub rsp, 20h ; +0xb, 0x14013551b call cs:?create@CCScene@cocos2d@@SAPEAV12@XZ; cocos2d::CCScene::create(void) ; +0xf, 0x14013551f mov rsi, rax ; +0x15, 0x140135525 call cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x18, 0x140135528 mov [rax+0E8h], rsi ; +0x1e, 0x14013552e mov ecx, 1E8h; Size ; +0x25, 0x140135535 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x2a, 0x14013553a mov rdi, rax ; +0x2f, 0x14013553f mov [rsp+28h+arg_0], rax ; +0x32, 0x140135542 mov rcx, rax ; +0x37, 0x140135547 call cs:??0CCLayer@cocos2d@@QEAA@XZ; cocos2d::CCLayer::CCLayer(void) ; +0x3a, 0x14013554a lea rcx, [rdi+198h] ; +0x40, 0x140135550 call cs:??0CCSceneTransitionDelegate@cocos2d@@QEAA@XZ; cocos2d::CCSceneTransitionDelegate::CCSceneTransitionDelegate(void) ; +0x47, 0x140135557 lea rax, ??_7CreatorLayer@@6B@; const CreatorLayer::`vftable' ; +0x4d, 0x14013555d mov [rdi], rax ; +0x54, 0x140135564 lea rax, ??_7CreatorLayer@@6B@_0; const CreatorLayer::`vftable' ; +0x57, 0x140135567 mov [rdi+140h], rax ; +0x5e, 0x14013556e lea rax, ??_7CreatorLayer@@6B@_1; const CreatorLayer::`vftable' ; +0x65, 0x140135575 mov [rdi+148h], rax ; +0x6c, 0x14013557c lea rax, ??_7CreatorLayer@@6B@_2; const CreatorLayer::`vftable' ; +0x73, 0x140135583 mov [rdi+150h], rax ; +0x7a, 0x14013558a lea rax, ??_7CreatorLayer@@6B@_3; const CreatorLayer::`vftable' ; +0x81, 0x140135591 mov [rdi+158h], rax ; +0x88, 0x140135598 lea rax, ??_7CreatorLayer@@6B@_4; const CreatorLayer::`vftable' ; +0x8f, 0x14013559f mov [rdi+160h], rax ; +0x96, 0x1401355a6 lea rax, ??_7CreatorLayer@@6B@_5; const CreatorLayer::`vftable' ; +0x9d, 0x1401355ad mov [rdi+198h], rax ; +0xa4, 0x1401355b4 lea rax, ??_7CreatorLayer@@6B@_6; const CreatorLayer::`vftable' ; +0xab, 0x1401355bb mov [rdi+1A0h], rax ; +0xb2, 0x1401355c2 lea rax, ??_7CreatorLayer@@6B@_7; const CreatorLayer::`vftable' ; +0xb9, 0x1401355c9 mov [rdi+1A8h], rax ; +0xc0, 0x1401355d0 xor ebx, ebx ; +0xc7, 0x1401355d7 mov [rdi+1B0h], rbx ; +0xc9, 0x1401355d9 mov [rdi+1B8h], rbx ; +0xd0, 0x1401355e0 mov [rdi+1C0h], rbx ; +0xd7, 0x1401355e7 mov [rdi+1C8h], rbx ; +0xde, 0x1401355ee mov [rdi+1D0h], rbx ; +0xe5, 0x1401355f5 mov [rdi+1D8h], rbx ; +0xec, 0x1401355fc mov dword ptr [rdi+1E0h], 0FFFFFFFFh ; +0xf3, 0x140135603 mov [rdi+1E4h], ebx ; +0xfd, 0x14013560d mov rax, cs:off_1407379A8 ; +0x103, 0x140135613 lea rcx, CreatorLayer__init ; +0x10a, 0x14013561a cmp rax, rcx ; +0x111, 0x140135621 mov rcx, rdi ; +0x114, 0x140135624 jnz short loc_140135630 ; +0x117, 0x140135627 call CreatorLayer__init ; +0x119, 0x140135629 jmp short loc_140135632 ; +0x11e, 0x14013562e call rax ; CreatorLayer__init ; +0x120, 0x140135630 mov rcx, rdi ; +0x122, 0x140135632 test al, al ; +0x125, 0x140135635 jz short loc_140135674 ; +0x127, 0x140135637 call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x129, 0x140135639 mov rax, [rsi] ; +0x12f, 0x14013563f mov rdx, rdi ; +0x132, 0x140135642 mov rcx, rsi ; +0x135, 0x140135645 call qword ptr [rax+1D0h] ; +0x138, 0x140135648 test rdi, rdi ; +0x13e, 0x14013564e jz short loc_14013568D ; +0x141, 0x140135651 lea rax, [rdi+198h] ; +0x143, 0x140135653 mov [rsi+140h], rax ; +0x14a, 0x14013565a mov rax, rsi ; +0x151, 0x140135661 mov rbx, [rsp+28h+arg_8] ; +0x154, 0x140135664 mov rsi, [rsp+28h+arg_10] ; +0x159, 0x140135669 add rsp, 20h ; +0x15e, 0x14013566e pop rdi ; +0x162, 0x140135672 retn ; +0x163, 0x140135673 mov rax, [rdi] ; +0x164, 0x140135674 mov edx, 1 ; +0x167, 0x140135677 call qword ptr [rax+8] ; +0x16c, 0x14013567c mov rax, [rsi] ; +0x16f, 0x14013567f xor edx, edx ; +0x172, 0x140135682 mov rcx, rsi ; +0x174, 0x140135684 call qword ptr [rax+1D0h] ; +0x177, 0x140135687 mov [rsi+140h], rbx ; +0x17d, 0x14013568d mov rax, rsi ; +0x184, 0x140135694 mov rbx, [rsp+28h+arg_8] ; +0x187, 0x140135697 mov rsi, [rsp+28h+arg_10] ; +0x18c, 0x14013569c add rsp, 20h ; +0x191, 0x1401356a1 pop rdi ; +0x195, 0x1401356a5 retn ; +0x196, 0x1401356a6