; ; EditLevelLayer::onClone from 0x1001e0f60 to 0x1001e1076 (278 bytes) ; ; 1 xrefs: ; > EditLevelLayer::FLAlert_Clicked @ 0x1001e0cf0 ; ; 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 12:26:28 +0000 ; push rbp ; +0x0, 0x1001e0f60 mov rbp, rsp ; +0x1, 0x1001e0f61 push r15 ; +0x4, 0x1001e0f64 push r14 ; +0x6, 0x1001e0f66 push rbx ; +0x8, 0x1001e0f68 push rax ; +0x9, 0x1001e0f69 mov rbx, rdi ; +0xa, 0x1001e0f6a call cocos2d__CCDirector__sharedDirector ; +0xd, 0x1001e0f6d cmp byte ptr [rax+0B0h], 0 ; +0x12, 0x1001e0f72 jnz short loc_1001E0F84 ; +0x19, 0x1001e0f79 cmp byte ptr [rbx+1F0h], 0 ; +0x1b, 0x1001e0f7b jz short loc_1001E0F8F ; +0x22, 0x1001e0f82 add rsp, 8 ; +0x24, 0x1001e0f84 pop rbx ; +0x28, 0x1001e0f88 pop r14 ; +0x29, 0x1001e0f89 pop r15 ; +0x2b, 0x1001e0f8b pop rbp ; +0x2d, 0x1001e0f8d retn ; +0x2e, 0x1001e0f8e mov rax, [rbx] ; +0x2f, 0x1001e0f8f mov rdi, rbx ; +0x32, 0x1001e0f92 xor esi, esi ; +0x35, 0x1001e0f95 call qword ptr [rax+430h] ; +0x37, 0x1001e0f97 mov byte ptr [rbx+1F0h], 1 ; +0x3d, 0x1001e0f9d call GameManager__sharedState ; +0x44, 0x1001e0fa4 mov dword ptr [rax+2C4h], 2 ; +0x49, 0x1001e0fa9 call GameLevelManager__sharedState ; +0x53, 0x1001e0fb3 mov rdi, rax ; +0x58, 0x1001e0fb8 call GameLevelManager__createNewLevel ; +0x5b, 0x1001e0fbb mov r14, rax ; +0x60, 0x1001e0fc0 mov rsi, [rbx+1D8h] ; +0x63, 0x1001e0fc3 mov rdi, rax ; +0x6a, 0x1001e0fca call GJGameLevel__copyLevelInfo ; +0x6d, 0x1001e0fcd mov rdi, rbx ; +0x72, 0x1001e0fd2 call EditLevelLayer__verifyLevelName ; +0x75, 0x1001e0fd5 mov rax, [rbx+1D8h] ; +0x7a, 0x1001e0fda mov ebx, [rax+3DCh] ; +0x81, 0x1001e0fe1 sub ebx, [rax+3E0h] ; +0x87, 0x1001e0fe7 mov [r14+3E4h], ebx ; +0x8d, 0x1001e0fed call _rand ; +0x94, 0x1001e0ff4 cvtsi2ss xmm0, eax ; +0x99, 0x1001e0ff9 mulss xmm0, cs:dword_100A03A50 ; +0x9d, 0x1001e0ffd mulss xmm0, cs:dword_100A03738 ; +0xa5, 0x1001e1005 cvttss2si eax, xmm0 ; +0xad, 0x1001e100d mov [r14+3E0h], eax ; +0xb1, 0x1001e1011 add ebx, eax ; +0xb8, 0x1001e1018 mov [r14+3DCh], ebx ; +0xba, 0x1001e101a call cocos2d__CCDirector__sharedDirector ; +0xc1, 0x1001e1021 mov rbx, rax ; +0xc6, 0x1001e1026 call cocos2d__CCScene__create ; +0xc9, 0x1001e1029 mov r15, rax ; +0xce, 0x1001e102e call AppDelegate__get ; +0xd1, 0x1001e1031 mov [rax+48h], r15 ; +0xd6, 0x1001e1036 mov rdi, r14 ; +0xda, 0x1001e103a call EditLevelLayer__create ; +0xdd, 0x1001e103d mov rcx, [r15] ; +0xe2, 0x1001e1042 mov rdi, r15 ; +0xe5, 0x1001e1045 mov rsi, rax ; +0xe8, 0x1001e1048 call qword ptr [rcx+1C8h] ; +0xeb, 0x1001e104b movss xmm0, cs:dword_100A03578 ; +0xf1, 0x1001e1051 mov rdi, r15 ; +0xf9, 0x1001e1059 call cocos2d__CCTransitionFade__create_1 ; +0xfc, 0x1001e105c mov rdi, rbx ; +0x101, 0x1001e1061 mov rsi, rax ; +0x104, 0x1001e1064 add rsp, 8 ; +0x107, 0x1001e1067 pop rbx ; +0x10b, 0x1001e106b pop r14 ; +0x10c, 0x1001e106c pop r15 ; +0x10e, 0x1001e106e pop rbp ; +0x110, 0x1001e1070 jmp cocos2d__CCDirector__replaceScene ; +0x111, 0x1001e1071