; ; EditorOptionsLayer::onButtonsPerRow from 0x1002d4960 to 0x1002d49e8 (136 bytes) ; ; 1 xrefs: ; > EditorOptionsLayer::setupOptions @ 0x1002d4530 ; ; 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 ; SUB SP, SP, #0x30 ; +0x0, 0x1002d4960 STP X20, X19, [SP,#0x20+var_10] ; +0x4, 0x1002d4964 STP X29, X30, [SP,#0x20+var_s0] ; +0x8, 0x1002d4968 ADD X29, SP, #0x20 ; +0xc, 0x1002d496c MOV X19, X0 ; +0x10, 0x1002d4970 LDR X8, [X1] ; +0x14, 0x1002d4974 LDR X8, [X8,#0x40] ; +0x18, 0x1002d4978 MOV X0, X1 ; +0x1c, 0x1002d497c BLR X8 ; +0x20, 0x1002d4980 LDR W8, [X19,#0x418] ; +0x24, 0x1002d4984 CMP W0, #1 ; +0x28, 0x1002d4988 CSINV W9, W0, WZR, EQ ; +0x2c, 0x1002d498c ADD W8, W8, W9 ; +0x30, 0x1002d4990 CMP W8, #6 ; +0x34, 0x1002d4994 MOV W9, #6 ; +0x38, 0x1002d4998 CSEL W8, W8, W9, GT ; +0x3c, 0x1002d499c CMP W8, #0xC ; +0x40, 0x1002d49a0 MOV W9, #0xC ; +0x44, 0x1002d49a4 CSEL W8, W8, W9, LT ; +0x48, 0x1002d49a8 STR W8, [X19,#0x418] ; +0x4c, 0x1002d49ac LDR X19, [X19,#0x420] ; +0x50, 0x1002d49b0 STR X8, [SP,#0x20+var_20] ; +0x54, 0x1002d49b4 ADRL X0, aI; "%i" ; +0x58, 0x1002d49b8 BL sub_100268F4C ; +0x60, 0x1002d49c0 BL cocos2d__CCString__getCString ; +0x64, 0x1002d49c4 MOV X1, X0 ; +0x68, 0x1002d49c8 LDR X8, [X19] ; +0x6c, 0x1002d49cc LDR X2, [X8,#0x390] ; +0x70, 0x1002d49d0 MOV X0, X19 ; +0x74, 0x1002d49d4 LDP X29, X30, [SP,#0x20+var_s0] ; +0x78, 0x1002d49d8 LDP X20, X19, [SP,#0x20+var_10] ; +0x7c, 0x1002d49dc ADD SP, SP, #0x30 ; '0' ; +0x80, 0x1002d49e0 BR X2 ; +0x84, 0x1002d49e4