; ; ColorChannelSprite::updateValues from 0x5c2470 to 0x5c2520 (176 bytes) ; ; 3 xrefs: ; > CustomizeObjectLayer::updateColorSprite @ 0x57e784 ; > GJColorSetupLayer::updateSpriteColor @ 0x5c16de ; > LevelSettingsLayer::updateColorSprite @ 0x6a95f4 ; ; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! ; ; 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 11:53:50 +0000 ; LDR R3, =(__stack_chk_guard_ptr - 0x5C2478) ; +0x0, 0x5c2470 PUSH {R0,R1,R4-R6,LR} ; +0x2, 0x5c2472 ADD R3, PC; __stack_chk_guard_ptr ; +0x4, 0x5c2474 LDR R3, [R3]; __stack_chk_guard ; +0x6, 0x5c2476 MOV R5, R0 ; +0x8, 0x5c2478 MOV R4, R1 ; +0xa, 0x5c247a LDR R2, [R3] ; +0xc, 0x5c247c MOV R6, R3 ; +0xe, 0x5c247e STR R2, [SP,#8+var_4] ; +0x10, 0x5c2480 CBZ R1, loc_5C24D0 ; +0x12, 0x5c2482 LDRB.W R2, [R4,#0x7A]; bool ; +0x14, 0x5c2484 LDR R1, [R1,#0x74]; GJSpecialColorSelect * ; +0x18, 0x5c2488 BL _ZN18ColorChannelSprite15updateCopyLabelEib; ColorChannelSprite::updateCopyLabel(int,bool) ; +0x1a, 0x5c248a MOV R0, R5; this ; +0x1e, 0x5c248e LDR R1, [R4,#0x5C]; float ; +0x20, 0x5c2490 BL _ZN18ColorChannelSprite13updateOpacityEf; ColorChannelSprite::updateOpacity(float) ; +0x22, 0x5c2492 LDRB.W R1, [R4,#0x50]; bool ; +0x26, 0x5c2496 MOV R0, R5; this ; +0x2a, 0x5c249a BL _ZN18ColorChannelSprite14updateBlendingEb; ColorChannelSprite::updateBlending(bool) ; +0x2c, 0x5c249c LDRB.W R3, [R4,#0x46] ; +0x30, 0x5c24a0 LDRB.W R1, [R4,#0x44] ; +0x34, 0x5c24a4 LDRB.W R2, [R4,#0x45] ; +0x38, 0x5c24a8 STRB.W R3, [SP,#8+var_6] ; +0x3c, 0x5c24ac LDR R3, [R4,#0x74] ; +0x40, 0x5c24b0 STRB.W R1, [SP,#8+var_8] ; +0x42, 0x5c24b2 MOV R1, SP ; +0x46, 0x5c24b6 STRB.W R2, [SP,#8+var_8+1] ; +0x48, 0x5c24b8 CBZ R3, loc_5C24C4 ; +0x4c, 0x5c24bc LDRB.W R3, [R4,#0x7A] ; +0x4e, 0x5c24be CBZ R3, loc_5C24FC ; +0x52, 0x5c24c2 LDR R3, [R5] ; +0x54, 0x5c24c4 MOV R0, R5 ; +0x56, 0x5c24c6 LDR.W R3, [R3,#0x1E0] ; +0x58, 0x5c24c8 BLX R3 ; +0x5c, 0x5c24cc B loc_5C2510 ; +0x5e, 0x5c24ce LDR R3, [R0] ; +0x60, 0x5c24d0 LDR R1, =(unk_BEE134 - 0x5C24D8) ; +0x62, 0x5c24d2 ADD R1, PC; unk_BEE134 ; +0x64, 0x5c24d4 LDR.W R3, [R3,#0x1E0] ; +0x66, 0x5c24d6 ADDS R1, #(word_BEE137 - 0xBEE134) ; +0x6a, 0x5c24da BLX R3 ; +0x6c, 0x5c24dc MOV R0, R5; this ; +0x6e, 0x5c24de MOV R1, R4; GJSpecialColorSelect * ; +0x70, 0x5c24e0 MOV R2, R4; bool ; +0x72, 0x5c24e2 BL _ZN18ColorChannelSprite15updateCopyLabelEib; ColorChannelSprite::updateCopyLabel(int,bool) ; +0x74, 0x5c24e4 MOV R0, R5; this ; +0x78, 0x5c24e8 MOV.W R1, #0x3F800000; float ; +0x7a, 0x5c24ea BL _ZN18ColorChannelSprite13updateOpacityEf; ColorChannelSprite::updateOpacity(float) ; +0x7e, 0x5c24ee MOV R0, R5; this ; +0x82, 0x5c24f2 MOV R1, R4; bool ; +0x84, 0x5c24f4 BL _ZN18ColorChannelSprite14updateBlendingEb; ColorChannelSprite::updateBlending(bool) ; +0x86, 0x5c24f6 B loc_5C2510 ; +0x8a, 0x5c24fa LDR R3, =(unk_BEE134 - 0x5C2502) ; +0x8c, 0x5c24fc ADD R3, PC; unk_BEE134 ; +0x8e, 0x5c24fe LDRH.W R2, [R3,#(word_BEE13A - 0xBEE134)]! ; +0x90, 0x5c2500 LDRB R3, [R3,#(byte_BEE13C - 0xBEE13A)] ; +0x94, 0x5c2504 STRH.W R2, [SP,#8+var_8] ; +0x96, 0x5c2506 STRB.W R3, [SP,#8+var_6] ; +0x9a, 0x5c250a B loc_5C24C4 ; +0x9e, 0x5c250e LDR R2, [SP,#8+var_4] ; +0xa0, 0x5c2510 LDR R3, [R6] ; +0xa2, 0x5c2512 CMP R2, R3 ; +0xa4, 0x5c2514 BEQ loc_5C251C ; +0xa6, 0x5c2516 BLX __stack_chk_fail ; +0xa8, 0x5c2518 ADD SP, SP, #8 ; +0xac, 0x5c251c POP {R4-R6,PC} ; +0xae, 0x5c251e