; ; CustomizeObjectLayer::updateColorSprite from 0x840f90 to 0x841090 (256 bytes) ; ; 9 xrefs: ; > CustomizeObjectLayer::colorSelectClosed @ 0x841090 ; > CustomizeObjectLayer::textChanged @ 0x8414c4 ; > CustomizeObjectLayer::onUpdateCustomColor @ 0x84164c ; > CustomizeObjectLayer::onSelectColor @ 0x8417fc ; > CustomizeObjectLayer::colorSetupClosed @ 0x84187c ; > CustomizeObjectLayer::onNextColorChannel @ 0x841914 ; > CustomizeObjectLayer::onPaste @ 0x8419c0 ; > CustomizeObjectLayer::onSelectMode @ 0x841cac ; > @ 0x5afc0 ; ; 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 ; STP X29, X30, [SP,#-0x20+var_s0]! ; +0x0, 0x840f90 MOV W1, #0 ; +0x4, 0x840f94 MOV X29, SP ; +0x8, 0x840f98 LDR W2, [X0,#0x2D0] ; +0xc, 0x840f9c STP X19, X20, [SP,#var_s10] ; +0x10, 0x840fa0 CMP W2, #3 ; +0x14, 0x840fa4 MOV X19, X0 ; +0x18, 0x840fa8 B.EQ loc_841004 ; +0x1c, 0x840fac MOV W1, #1; bool ; +0x20, 0x840fb0 BL _ZN20CustomizeObjectLayer13getActiveModeEb; CustomizeObjectLayer::getActiveMode(bool) ; +0x24, 0x840fb4 CMP W0, WZR ; +0x28, 0x840fb8 MOV W20, W0 ; +0x2c, 0x840fbc B.LE loc_840FE4 ; +0x30, 0x840fc0 BL _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x34, 0x840fc4 LDR X0, [X0,#0x1E0] ; +0x38, 0x840fc8 MOV W1, W20; int ; +0x3c, 0x840fcc LDR X0, [X0,#0xE08] ; +0x40, 0x840fd0 LDR X0, [X0,#0x140]; this ; +0x44, 0x840fd4 BL _ZN15GJEffectManager11colorExistsEi; GJEffectManager::colorExists(int) ; +0x48, 0x840fd8 UXTB W0, W0; this ; +0x4c, 0x840fdc CBNZ W0, loc_841024 ; +0x50, 0x840fe0 LDR X0, [X19,#0x368]; this ; +0x54, 0x840fe4 MOV X1, #0; ColorAction * ; +0x58, 0x840fe8 BL _ZN18ColorChannelSprite12updateValuesEP11ColorAction; ColorChannelSprite::updateValues(ColorAction *) ; +0x5c, 0x840fec SUB W0, W20, #0x3ED ; +0x60, 0x840ff0 CMP W0, #7 ; +0x64, 0x840ff4 B.LS loc_841054 ; +0x68, 0x840ff8 CMP W20, WZR; jumptable 0000000000841068 default case, cases 1008,1009 ; +0x6c, 0x840ffc CSET W1, GT ; +0x70, 0x841000 LDR X2, [X19,#0x370] ; +0x74, 0x841004 MOV X0, X2 ; +0x78, 0x841008 LDR X2, [X2] ; +0x7c, 0x84100c LDR X2, [X2,#0x148] ; +0x80, 0x841010 BLR X2 ; +0x84, 0x841014 LDP X19, X20, [SP,#var_s10] ; +0x88, 0x841018 LDP X29, X30, [SP+var_s0],#0x20 ; +0x8c, 0x84101c RET ; +0x90, 0x841020 BL _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x94, 0x841024 LDR X0, [X0,#0x1E0] ; +0x98, 0x841028 MOV W1, W20; int ; +0x9c, 0x84102c LDR X0, [X0,#0xE08] ; +0xa0, 0x841030 LDR X0, [X0,#0x140]; this ; +0xa4, 0x841034 BL _ZN15GJEffectManager14getColorActionEi; GJEffectManager::getColorAction(int) ; +0xa8, 0x841038 MOV X1, X0; ColorAction * ; +0xac, 0x84103c LDR X0, [X19,#0x368]; this ; +0xb0, 0x841040 BL _ZN18ColorChannelSprite12updateValuesEP11ColorAction; ColorChannelSprite::updateValues(ColorAction *) ; +0xb4, 0x841044 SUB W0, W20, #0x3ED; switch 8 cases ; +0xb8, 0x841048 CMP W0, #7 ; +0xbc, 0x84104c B.HI def_841068; jumptable 0000000000841068 default case, cases 1008,1009 ; +0xc0, 0x841050 ADRL X1, jpt_841068 ; +0xc4, 0x841054 LDRB W0, [X1,W0,UXTW] ; +0xcc, 0x84105c ADR X1, loc_84106C; jumptable 0000000000841068 cases 1005-1007,1010-1012 ; +0xd0, 0x841060 ADD X0, X1, W0,SXTB#2 ; +0xd4, 0x841064 BR X0; switch jump ; +0xd8, 0x841068 LDR X2, [X19,#0x370]; jumptable 0000000000841068 cases 1005-1007,1010-1012 ; +0xdc, 0x84106c MOV W1, #0 ; +0xe0, 0x841070 MOV X0, X2 ; +0xe4, 0x841074 LDR X2, [X2] ; +0xe8, 0x841078 LDR X2, [X2,#0x148] ; +0xec, 0x84107c BLR X2 ; +0xf0, 0x841080 LDP X19, X20, [SP,#var_s10] ; +0xf4, 0x841084 LDP X29, X30, [SP+var_s0],#0x20 ; +0xf8, 0x841088 RET ; +0xfc, 0x84108c