; ; CustomizeObjectLayer::getButtonByTag from 0x100058f44 to 0x100058fbc (120 bytes) ; ; 3 xrefs: ; > CustomizeObjectLayer::onNextColorChannel @ 0x1000587a4 ; > CustomizeObjectLayer::updateCurrentSelection @ 0x1000589c0 ; > CustomizeObjectLayer::colorSetupClosed @ 0x100058ce8 ; ; 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:57:47 +0000 ; STP X22, X21, [SP,#-0x10+var_20]! ; +0x0, 0x100058f44 STP X20, X19, [SP,#0x20+var_10] ; +0x4, 0x100058f48 STP X29, X30, [SP,#0x20+var_s0] ; +0x8, 0x100058f4c ADD X29, SP, #0x20 ; +0xc, 0x100058f50 MOV X19, X1 ; +0x10, 0x100058f54 MOV X20, X0 ; +0x14, 0x100058f58 LDR X0, [X0,#0x2C0] ; +0x18, 0x100058f5c BL sub_1002E757C ; +0x1c, 0x100058f60 CBZ W0, loc_100058FA4 ; +0x20, 0x100058f64 MOV W21, #0 ; +0x24, 0x100058f68 LDR X0, [X20,#0x2C0] ; +0x28, 0x100058f6c MOV X1, X21 ; +0x2c, 0x100058f70 BL sub_1002E75A0 ; +0x30, 0x100058f74 MOV X22, X0 ; +0x34, 0x100058f78 LDR X8, [X0] ; +0x38, 0x100058f7c LDR X8, [X8,#0x40] ; +0x3c, 0x100058f80 BLR X8 ; +0x40, 0x100058f84 CMP W0, W19 ; +0x44, 0x100058f88 B.EQ loc_100058FA8 ; +0x48, 0x100058f8c ADD W21, W21, #1 ; +0x4c, 0x100058f90 LDR X0, [X20,#0x2C0] ; +0x50, 0x100058f94 BL sub_1002E757C ; +0x54, 0x100058f98 CMP W21, W0 ; +0x58, 0x100058f9c B.CC loc_100058F6C ; +0x5c, 0x100058fa0 MOV X22, #0 ; +0x60, 0x100058fa4 MOV X0, X22 ; +0x64, 0x100058fa8 LDP X29, X30, [SP,#0x20+var_s0] ; +0x68, 0x100058fac LDP X20, X19, [SP,#0x20+var_10] ; +0x6c, 0x100058fb0 LDP X22, X21, [SP+0x20+var_20],#0x30 ; +0x70, 0x100058fb4 RET ; +0x74, 0x100058fb8