; ; CreatorLayer::scene from 0x14009bfd0 to 0x14009c13d (365 bytes) ; ; 7 xrefs: ; > GameManager::returnToLastScene @ 0x140189ff5 ; > GameManager::returnToLastScene @ 0x14018a1c6 ; > GauntletSelectLayer::onBack @ 0x1401fa71f ; > MenuLayer::onCreator @ 0x140335d86 ; > SecretRewardsLayer::onBack @ 0x1403d7dc0 ; > SecretLayer2::onBack @ 0x1403e98bd ; > @ 0x1406c7560 ; ; 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_8], rbx ; +0x0, 0x14009bfd0 mov [rsp+arg_10], rsi ; +0x5, 0x14009bfd5 push rdi ; +0xa, 0x14009bfda sub rsp, 20h ; +0xb, 0x14009bfdb call cs:?create@CCScene@cocos2d@@SAPEAV12@XZ; cocos2d::CCScene::create(void) ; +0xf, 0x14009bfdf mov rsi, rax ; +0x15, 0x14009bfe5 call cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x18, 0x14009bfe8 mov [rax+0E0h], rsi ; +0x1e, 0x14009bfee mov ecx, 1C0h; Size ; +0x25, 0x14009bff5 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x2a, 0x14009bffa mov rdi, rax ; +0x2f, 0x14009bfff mov [rsp+28h+arg_0], rax ; +0x32, 0x14009c002 mov rcx, rax ; +0x37, 0x14009c007 call cs:??0CCLayer@cocos2d@@QEAA@XZ; cocos2d::CCLayer::CCLayer(void) ; +0x3a, 0x14009c00a lea rcx, [rdi+198h] ; +0x40, 0x14009c010 call cs:??0CCSceneTransitionDelegate@cocos2d@@QEAA@XZ; cocos2d::CCSceneTransitionDelegate::CCSceneTransitionDelegate(void) ; +0x47, 0x14009c017 lea rax, ??_7CreatorLayer@@6B@; const CreatorLayer::`vftable' ; +0x4d, 0x14009c01d mov [rdi], rax ; +0x54, 0x14009c024 lea rax, ??_7CreatorLayer@@6B@_0; const CreatorLayer::`vftable' ; +0x57, 0x14009c027 mov [rdi+140h], rax ; +0x5e, 0x14009c02e lea rax, ??_7CreatorLayer@@6B@_1; const CreatorLayer::`vftable' ; +0x65, 0x14009c035 mov [rdi+148h], rax ; +0x6c, 0x14009c03c lea rax, ??_7CreatorLayer@@6B@_2; const CreatorLayer::`vftable' ; +0x73, 0x14009c043 mov [rdi+150h], rax ; +0x7a, 0x14009c04a lea rax, ??_7CreatorLayer@@6B@_3; const CreatorLayer::`vftable' ; +0x81, 0x14009c051 mov [rdi+158h], rax ; +0x88, 0x14009c058 lea rax, ??_7CreatorLayer@@6B@_4; const CreatorLayer::`vftable' ; +0x8f, 0x14009c05f mov [rdi+160h], rax ; +0x96, 0x14009c066 lea rax, ??_7CreatorLayer@@6B@_5; const CreatorLayer::`vftable' ; +0x9d, 0x14009c06d mov [rdi+198h], rax ; +0xa4, 0x14009c074 lea rax, ??_7CreatorLayer@@6B@_6; const CreatorLayer::`vftable' ; +0xab, 0x14009c07b mov [rdi+1A0h], rax ; +0xb2, 0x14009c082 xor ebx, ebx ; +0xb9, 0x14009c089 mov [rdi+1A8h], rbx ; +0xbb, 0x14009c08b mov [rdi+1B0h], rbx ; +0xc2, 0x14009c092 mov dword ptr [rdi+1B8h], 0FFFFFFFFh ; +0xc9, 0x14009c099 mov [rdi+1BCh], ebx ; +0xd3, 0x14009c0a3 mov rax, cs:off_1405433E8 ; +0xd9, 0x14009c0a9 lea rcx, CreatorLayer__init ; +0xe0, 0x14009c0b0 cmp rax, rcx ; +0xe7, 0x14009c0b7 mov rcx, rdi ; +0xea, 0x14009c0ba jnz short loc_14009C0C6 ; +0xed, 0x14009c0bd call CreatorLayer__init ; +0xef, 0x14009c0bf jmp short loc_14009C0C8 ; +0xf4, 0x14009c0c4 call rax ; CreatorLayer__init ; +0xf6, 0x14009c0c6 mov rcx, rdi ; +0xf8, 0x14009c0c8 test al, al ; +0xfb, 0x14009c0cb jz short loc_14009C10A ; +0xfd, 0x14009c0cd call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xff, 0x14009c0cf mov rax, [rsi] ; +0x105, 0x14009c0d5 mov rdx, rdi ; +0x108, 0x14009c0d8 mov rcx, rsi ; +0x10b, 0x14009c0db call qword ptr [rax+1C0h] ; +0x10e, 0x14009c0de test rdi, rdi ; +0x114, 0x14009c0e4 jz short loc_14009C123 ; +0x117, 0x14009c0e7 lea rax, [rdi+198h] ; +0x119, 0x14009c0e9 mov [rsi+140h], rax ; +0x120, 0x14009c0f0 mov rax, rsi ; +0x127, 0x14009c0f7 mov rbx, [rsp+28h+arg_8] ; +0x12a, 0x14009c0fa mov rsi, [rsp+28h+arg_10] ; +0x12f, 0x14009c0ff add rsp, 20h ; +0x134, 0x14009c104 pop rdi ; +0x138, 0x14009c108 retn ; +0x139, 0x14009c109 mov rax, [rdi] ; +0x13a, 0x14009c10a mov edx, 1 ; +0x13d, 0x14009c10d call qword ptr [rax+8] ; +0x142, 0x14009c112 mov rax, [rsi] ; +0x145, 0x14009c115 xor edx, edx ; +0x148, 0x14009c118 mov rcx, rsi ; +0x14a, 0x14009c11a call qword ptr [rax+1C0h] ; +0x14d, 0x14009c11d mov [rsi+140h], rbx ; +0x153, 0x14009c123 mov rax, rsi ; +0x15a, 0x14009c12a mov rbx, [rsp+28h+arg_8] ; +0x15d, 0x14009c12d mov rsi, [rsp+28h+arg_10] ; +0x162, 0x14009c132 add rsp, 20h ; +0x167, 0x14009c137 pop rdi ; +0x16b, 0x14009c13b retn ; +0x16c, 0x14009c13c