; ; EditLevelLayer::onClone from 0x100112490 to 0x100112568 (216 bytes) ; ; 1 xrefs: ; > EditLevelLayer::FLAlert_Clicked @ 0x100112290 ; ; This function is hookable on this platform (idp: arm, 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 10:59:09 +0000 ; STP X20, X19, [SP,#-0x10+var_10]! ; +0x0, 0x100112490 STP X29, X30, [SP,#0x10+var_s0] ; +0x4, 0x100112494 ADD X29, SP, #0x10 ; +0x8, 0x100112498 MOV X19, X0 ; +0xc, 0x10011249c BL cocos2d__CCDirector__sharedDirector ; +0x10, 0x1001124a0 LDRB W8, [X0,#0xB0] ; +0x14, 0x1001124a4 TBNZ W8, #0, loc_1001124B4 ; +0x18, 0x1001124a8 LDRB W8, [X19,#0x1F0] ; +0x1c, 0x1001124ac TBZ W8, #0, loc_1001124C0 ; +0x20, 0x1001124b0 LDP X29, X30, [SP,#0x10+var_s0] ; +0x24, 0x1001124b4 LDP X20, X19, [SP+0x10+var_10],#0x20 ; +0x28, 0x1001124b8 RET ; +0x2c, 0x1001124bc LDR X8, [X19] ; +0x30, 0x1001124c0 LDR X8, [X8,#0x430] ; +0x34, 0x1001124c4 MOV X0, X19 ; +0x38, 0x1001124c8 MOV W1, #0 ; +0x3c, 0x1001124cc BLR X8 ; +0x40, 0x1001124d0 MOV W8, #1 ; +0x44, 0x1001124d4 STRB W8, [X19,#0x1F0] ; +0x48, 0x1001124d8 BL GameManager__sharedState ; +0x4c, 0x1001124dc MOV W8, #2 ; +0x50, 0x1001124e0 STR W8, [X0,#0x2C4] ; +0x54, 0x1001124e4 BL GameLevelManager__sharedState ; +0x58, 0x1001124e8 BL GameLevelManager__createNewLevel ; +0x5c, 0x1001124ec MOV X20, X0 ; +0x60, 0x1001124f0 LDR X1, [X19,#0x1D8] ; +0x64, 0x1001124f4 BL GJGameLevel__copyLevelInfo ; +0x68, 0x1001124f8 MOV X0, X19 ; +0x6c, 0x1001124fc BL EditLevelLayer__verifyLevelName ; +0x70, 0x100112500 LDR X8, [X19,#0x1D8] ; +0x74, 0x100112504 LDR W9, [X8,#0x3DC] ; +0x78, 0x100112508 LDR W8, [X8,#0x3E0] ; +0x7c, 0x10011250c SUB W19, W9, W8 ; +0x80, 0x100112510 STR W19, [X20,#0x3E4] ; +0x84, 0x100112514 BL _rand ; +0x88, 0x100112518 SCVTF S0, W0, #0x1F ; +0x8c, 0x10011251c MOV W8, #0x447A0000 ; +0x90, 0x100112520 FMOV S1, W8 ; +0x94, 0x100112524 FMUL S0, S0, S1 ; +0x98, 0x100112528 FCVTZS W8, S0 ; +0x9c, 0x10011252c STR W8, [X20,#0x3E0] ; +0xa0, 0x100112530 ADD W8, W19, W8 ; +0xa4, 0x100112534 STR W8, [X20,#0x3DC] ; +0xa8, 0x100112538 BL cocos2d__CCDirector__sharedDirector ; +0xac, 0x10011253c MOV X19, X0 ; +0xb0, 0x100112540 MOV X0, X20 ; +0xb4, 0x100112544 BL EditLevelLayer__scene ; +0xb8, 0x100112548 FMOV S0, #0.5 ; +0xbc, 0x10011254c BL cocos2d__CCTransitionFade__create_1 ; +0xc0, 0x100112550 MOV X1, X0; lpsrc ; +0xc4, 0x100112554 MOV X0, X19; int ; +0xc8, 0x100112558 LDP X29, X30, [SP,#0x10+var_s0] ; +0xcc, 0x10011255c LDP X20, X19, [SP+0x10+var_10],#0x20 ; +0xd0, 0x100112560 B cocos2d__CCDirector__replaceScene ; +0xd4, 0x100112564