; ; CustomizeObjectLayer::hsvPopupClosed from 0x100058fd0 to 0x100059080 (176 bytes) ; ; 2 xrefs: ; > sub_100059080 @ 0x100059084 ; > @ 0x1008bdd28 ; ; 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 X24, X23, [SP,#-0x10+var_30]! ; +0x0, 0x100058fd0 STP X22, X21, [SP,#0x30+var_20] ; +0x4, 0x100058fd4 STP X20, X19, [SP,#0x30+var_10] ; +0x8, 0x100058fd8 STP X29, X30, [SP,#0x30+var_s0] ; +0xc, 0x100058fdc ADD X29, SP, #0x30 ; +0x10, 0x100058fe0 MOV X19, X3 ; +0x14, 0x100058fe4 MOV X21, X2 ; +0x18, 0x100058fe8 MOV X20, X0 ; +0x1c, 0x100058fec LDR X8, [X1] ; +0x20, 0x100058ff0 LDR X8, [X8,#0x40] ; +0x24, 0x100058ff4 MOV X0, X1 ; +0x28, 0x100058ff8 BLR X8 ; +0x2c, 0x100058ffc CMP W0, #1 ; +0x30, 0x100059000 MOV W8, #1 ; +0x34, 0x100059004 CINC W22, W8, NE ; +0x38, 0x100059008 LDR X0, [X20,#0x2B0] ; +0x3c, 0x10005900c CBZ X0, loc_100059028 ; +0x40, 0x100059010 MOV X1, X22 ; +0x44, 0x100059014 BL GameObject__getRelativeSpriteColor ; +0x48, 0x100059018 CBZ X0, loc_100059068 ; +0x4c, 0x10005901c STP X21, X19, [X0,#0x10] ; +0x50, 0x100059020 B loc_100059068 ; +0x54, 0x100059024 LDR X0, [X20,#0x2B8] ; +0x58, 0x100059028 BL sub_1002E757C ; +0x5c, 0x10005902c CBZ W0, loc_100059068 ; +0x60, 0x100059030 MOV W23, #0 ; +0x64, 0x100059034 LDR X0, [X20,#0x2B8] ; +0x68, 0x100059038 MOV X1, X23 ; +0x6c, 0x10005903c BL sub_1002E75A0 ; +0x70, 0x100059040 MOV X1, X22 ; +0x74, 0x100059044 BL GameObject__getRelativeSpriteColor ; +0x78, 0x100059048 CBZ X0, loc_100059054 ; +0x7c, 0x10005904c STP X21, X19, [X0,#0x10] ; +0x80, 0x100059050 ADD W23, W23, #1 ; +0x84, 0x100059054 LDR X0, [X20,#0x2B8] ; +0x88, 0x100059058 BL sub_1002E757C ; +0x8c, 0x10005905c CMP W23, W0 ; +0x90, 0x100059060 B.CC loc_100059038 ; +0x94, 0x100059064 MOV X0, X20 ; +0x98, 0x100059068 LDP X29, X30, [SP,#0x30+var_s0] ; +0x9c, 0x10005906c LDP X20, X19, [SP,#0x30+var_10] ; +0xa0, 0x100059070 LDP X22, X21, [SP,#0x30+var_20] ; +0xa4, 0x100059074 LDP X24, X23, [SP+0x30+var_30],#0x40 ; +0xa8, 0x100059078 B CustomizeObjectLayer__updateHSVButtons ; +0xac, 0x10005907c