; ; EditLevelLayer::onBack from 0x14017cdf0 to 0x14017cf99 (425 bytes) ; ; 4 xrefs: ; > EditLevelLayer::FLAlert_Clicked @ 0x14017c253 ; > EditLevelLayer::keyBackClicked @ 0x14017d289 ; > EditLevelLayer::init @ 0x1401798a4 ; > @ 0x1409187e8 ; ; 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:35 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x14017cdf0 push rdi ; +0x5, 0x14017cdf5 sub rsp, 50h ; +0x6, 0x14017cdf6 mov rax, cs:__security_cookie ; +0xa, 0x14017cdfa xor rax, rsp ; +0x11, 0x14017ce01 mov [rsp+58h+var_10], rax ; +0x14, 0x14017ce04 mov rdi, rcx ; +0x19, 0x14017ce09 xor ebx, ebx ; +0x1c, 0x14017ce0c call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x1e, 0x14017ce0e cmp [rax+0B0h], bl ; +0x24, 0x14017ce14 jnz loc_14017CF81 ; +0x2a, 0x14017ce1a mov rcx, rdi ; +0x30, 0x14017ce20 call EditLevelLayer__closeTextInputs ; +0x33, 0x14017ce23 mov rcx, rdi ; +0x38, 0x14017ce28 call EditLevelLayer__verifyLevelName ; +0x3b, 0x14017ce2b mov rax, [rdi] ; +0x40, 0x14017ce30 xor edx, edx ; +0x43, 0x14017ce33 mov rcx, rdi ; +0x45, 0x14017ce35 call qword ptr [rax+3E0h] ; +0x48, 0x14017ce38 mov rdx, cs:qword_14090BFB0 ; +0x4e, 0x14017ce3e test rdx, rdx ; +0x55, 0x14017ce45 jnz short loc_14017CE7C ; +0x58, 0x14017ce48 mov ecx, 690h; Size ; +0x5a, 0x14017ce4a call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x5f, 0x14017ce4f mov [rsp+58h+var_38], rax ; +0x64, 0x14017ce54 mov rcx, rax ; +0x69, 0x14017ce59 call GameLevelManager__GameLevelManager ; +0x6c, 0x14017ce5c nop ; +0x71, 0x14017ce61 mov cs:qword_14090BFB0, rax ; +0x72, 0x14017ce62 mov rcx, [rax] ; +0x79, 0x14017ce69 mov rdx, [rcx+48h] ; +0x7c, 0x14017ce6c mov rcx, rax ; +0x80, 0x14017ce70 call rdx ; +0x83, 0x14017ce73 mov rdx, cs:qword_14090BFB0 ; +0x85, 0x14017ce75 add rdx, 4F8h ; +0x8c, 0x14017ce7c lea rcx, [rsp+58h+var_30] ; +0x93, 0x14017ce83 call sub_14003F4F0 ; +0x98, 0x14017ce88 nop ; +0x9d, 0x14017ce8d lea rdi, [rsp+58h+var_30] ; +0x9e, 0x14017ce8e cmp [rsp+58h+var_18], 0Fh ; +0xa3, 0x14017ce93 cmova rdi, [rsp+58h+var_30] ; +0xa9, 0x14017ce99 cmp cs:qword_14090BFB0, 0 ; +0xaf, 0x14017ce9f jnz short loc_14017CED1 ; +0xb7, 0x14017cea7 mov ecx, 690h; Size ; +0xb9, 0x14017cea9 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xbe, 0x14017ceae mov [rsp+58h+var_38], rax ; +0xc3, 0x14017ceb3 mov rcx, rax ; +0xc8, 0x14017ceb8 call GameLevelManager__GameLevelManager ; +0xcb, 0x14017cebb nop ; +0xd0, 0x14017cec0 mov cs:qword_14090BFB0, rax ; +0xd1, 0x14017cec1 mov rdx, [rax] ; +0xd8, 0x14017cec8 mov rcx, rax ; +0xdb, 0x14017cecb call qword ptr [rdx+48h] ; +0xde, 0x14017cece mov rcx, rdi ; +0xe1, 0x14017ced1 call GJSearchObject__createFromKey ; +0xe4, 0x14017ced4 test rax, rax ; +0xe9, 0x14017ced9 jz short loc_14017CEE9 ; +0xec, 0x14017cedc mov rcx, rax ; +0xee, 0x14017cede call LevelBrowserLayer__scene ; +0xf1, 0x14017cee1 mov rbx, rax ; +0xf6, 0x14017cee6 lea rcx, [rsp+58h+var_30] ; +0xf9, 0x14017cee9 call sub_14003D310 ; +0xfe, 0x14017ceee mov rax, cs:qword_14090BFB0 ; +0x103, 0x14017cef3 test rax, rax ; +0x10a, 0x14017cefa jnz short loc_14017CF31 ; +0x10d, 0x14017cefd mov ecx, 690h; Size ; +0x10f, 0x14017ceff call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x114, 0x14017cf04 mov [rsp+58h+var_38], rax ; +0x119, 0x14017cf09 mov rcx, rax ; +0x11e, 0x14017cf0e call GameLevelManager__GameLevelManager ; +0x121, 0x14017cf11 nop ; +0x126, 0x14017cf16 mov cs:qword_14090BFB0, rax ; +0x127, 0x14017cf17 mov rcx, [rax] ; +0x12e, 0x14017cf1e mov rdx, [rcx+48h] ; +0x131, 0x14017cf21 mov rcx, rax ; +0x135, 0x14017cf25 call rdx ; +0x138, 0x14017cf28 mov rax, cs:qword_14090BFB0 ; +0x13a, 0x14017cf2a cmp byte ptr [rax+540h], 0 ; +0x141, 0x14017cf31 jnz short loc_14017CF3F ; +0x148, 0x14017cf38 test rbx, rbx ; +0x14a, 0x14017cf3a jnz short loc_14017CF5B ; +0x14d, 0x14017cf3d mov byte ptr [rax+540h], 0 ; +0x14f, 0x14017cf3f mov ecx, 62h ; 'b' ; +0x156, 0x14017cf46 call GJSearchObject__create_2 ; +0x15b, 0x14017cf4b mov rcx, rax ; +0x160, 0x14017cf50 call LevelBrowserLayer__scene ; +0x163, 0x14017cf53 mov rbx, rax ; +0x168, 0x14017cf58 mov rdx, rbx ; +0x16b, 0x14017cf5b movss xmm0, cs:dword_140834F20 ; +0x16e, 0x14017cf5e call cs:?create@CCTransitionFade@cocos2d@@SAPEAV12@MPEAVCCScene@2@@Z; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x176, 0x14017cf66 mov rbx, rax ; +0x17c, 0x14017cf6c call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x17f, 0x14017cf6f mov rcx, rax ; +0x185, 0x14017cf75 mov rdx, rbx ; +0x188, 0x14017cf78 call cs:?replaceScene@CCDirector@cocos2d@@QEAA_NPEAVCCScene@2@@Z; cocos2d::CCDirector::replaceScene(cocos2d::CCScene *) ; +0x18b, 0x14017cf7b mov rcx, [rsp+58h+var_10] ; +0x191, 0x14017cf81 xor rcx, rsp; StackCookie ; +0x196, 0x14017cf86 call __security_check_cookie ; +0x199, 0x14017cf89 mov rbx, [rsp+58h+arg_8] ; +0x19e, 0x14017cf8e add rsp, 50h ; +0x1a3, 0x14017cf93 pop rdi ; +0x1a7, 0x14017cf97 retn ; +0x1a8, 0x14017cf98