; ; EditLevelLayer::onClone from 0x1001fe3c0 to 0x1001fe4a7 (231 bytes) ; ; 1 xrefs: ; > EditLevelLayer::FLAlert_Clicked @ 0x1001fe1b0 ; ; 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 ; push rbp ; +0x0, 0x1001fe3c0 mov rbp, rsp ; +0x1, 0x1001fe3c1 push r14 ; +0x4, 0x1001fe3c4 push rbx ; +0x6, 0x1001fe3c6 mov rbx, rdi ; +0x7, 0x1001fe3c7 call cocos2d__CCDirector__sharedDirector ; +0xa, 0x1001fe3ca cmp byte ptr [rax+0A8h], 0 ; +0xf, 0x1001fe3cf jnz short loc_1001FE3E1 ; +0x16, 0x1001fe3d6 cmp byte ptr [rbx+1E0h], 0 ; +0x18, 0x1001fe3d8 jz short loc_1001FE3E6 ; +0x1f, 0x1001fe3df pop rbx ; +0x21, 0x1001fe3e1 pop r14 ; +0x22, 0x1001fe3e2 pop rbp ; +0x24, 0x1001fe3e4 retn ; +0x25, 0x1001fe3e5 mov rax, [rbx] ; +0x26, 0x1001fe3e6 mov rdi, rbx ; +0x29, 0x1001fe3e9 xor esi, esi ; +0x2c, 0x1001fe3ec call qword ptr [rax+420h] ; +0x2e, 0x1001fe3ee mov byte ptr [rbx+1E0h], 1 ; +0x34, 0x1001fe3f4 call GameManager__sharedState ; +0x3b, 0x1001fe3fb mov dword ptr [rax+29Ch], 2 ; +0x40, 0x1001fe400 call GameLevelManager__sharedState ; +0x4a, 0x1001fe40a mov rdi, rax ; +0x4f, 0x1001fe40f call GameLevelManager__createNewLevel ; +0x52, 0x1001fe412 mov r14, rax ; +0x57, 0x1001fe417 mov rsi, [rbx+1C8h] ; +0x5a, 0x1001fe41a mov rdi, rax ; +0x61, 0x1001fe421 call GJGameLevel__copyLevelInfo ; +0x64, 0x1001fe424 mov rdi, rbx ; +0x69, 0x1001fe429 call EditLevelLayer__verifyLevelName ; +0x6c, 0x1001fe42c mov rax, [rbx+1C8h] ; +0x71, 0x1001fe431 mov ebx, [rax+368h] ; +0x78, 0x1001fe438 sub ebx, [rax+36Ch] ; +0x7e, 0x1001fe43e mov [r14+370h], ebx ; +0x84, 0x1001fe444 call _rand ; +0x8b, 0x1001fe44b cvtsi2ss xmm0, eax ; +0x90, 0x1001fe450 mulss xmm0, cs:dword_100815710 ; +0x94, 0x1001fe454 mulss xmm0, cs:dword_1008152B8 ; +0x9c, 0x1001fe45c cvttss2si eax, xmm0 ; +0xa4, 0x1001fe464 mov [r14+36Ch], eax ; +0xa8, 0x1001fe468 add ebx, eax ; +0xaf, 0x1001fe46f mov [r14+368h], ebx ; +0xb1, 0x1001fe471 call cocos2d__CCDirector__sharedDirector ; +0xb8, 0x1001fe478 mov rbx, rax ; +0xbd, 0x1001fe47d mov rdi, r14 ; +0xc0, 0x1001fe480 call EditLevelLayer__scene ; +0xc3, 0x1001fe483 movss xmm0, cs:dword_100814FA8 ; +0xc8, 0x1001fe488 mov rdi, rax ; +0xd0, 0x1001fe490 call cocos2d__CCTransitionFade__create_1 ; +0xd3, 0x1001fe493 mov rdi, rbx ; +0xd8, 0x1001fe498 mov rsi, rax ; +0xdb, 0x1001fe49b pop rbx ; +0xde, 0x1001fe49e pop r14 ; +0xdf, 0x1001fe49f pop rbp ; +0xe1, 0x1001fe4a1 jmp cocos2d__CCDirector__replaceScene ; +0xe2, 0x1001fe4a2