; ; ConfigureHSVWidget::updateColorPreview from 0x5e4ee8 to 0x5e4f4c (100 bytes) ; ; 2 xrefs: ; > ConfigureHSVWidget::sliderChanged @ 0x5e559c ; > ConfigureHSVWidget::onResetHSV @ 0x5e56b2 ; ; 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:54:19 +0000 ; LDR R3, =(__stack_chk_guard_ptr - 0x5E4EF0) ; +0x0, 0x5e4ee8 PUSH {R4,R5,LR} ; +0x2, 0x5e4eea ADD R3, PC; __stack_chk_guard_ptr ; +0x4, 0x5e4eec LDR R3, [R3]; __stack_chk_guard ; +0x6, 0x5e4eee SUB SP, SP, #0x14 ; +0x8, 0x5e4ef0 MOV R4, R0 ; +0xa, 0x5e4ef2 LDR R2, [R3] ; +0xc, 0x5e4ef4 MOV R5, R3 ; +0xe, 0x5e4ef6 STR R2, [SP,#0x14+var_8] ; +0x10, 0x5e4ef8 LDRB.W R2, [R0,#0x150] ; +0x12, 0x5e4efa CBZ R2, loc_5E4F3C ; +0x16, 0x5e4efe LDR.W R3, [R0,#0x14C] ; +0x18, 0x5e4f00 CBZ R3, loc_5E4F3C ; +0x1c, 0x5e4f04 LDR.W R3, [R0,#0x130] ; +0x1e, 0x5e4f06 STR R3, [SP,#0x14+var_14] ; +0x22, 0x5e4f0a ADD.W R3, R0, #0x124 ; +0x24, 0x5e4f0c ADD.W R0, R0, #0x144 ; +0x28, 0x5e4f10 LDM R3, {R1-R3} ; +0x2c, 0x5e4f14 BL _ZN11GameToolbox14transformColorERKN7cocos2d10_ccColor3BENS0_11_ccHSVValueE; GameToolbox::transformColor(cocos2d::_ccColor3B const&,cocos2d::_ccHSVValue) ; +0x2e, 0x5e4f16 ADD R1, SP, #0x14+var_C ; +0x32, 0x5e4f1a UBFX.W R3, R0, #8, #8 ; +0x34, 0x5e4f1c STRB.W R0, [SP,#0x14+var_C] ; +0x38, 0x5e4f20 UBFX.W R0, R0, #0x10, #8 ; +0x3c, 0x5e4f24 STRB.W R0, [SP,#0x14+var_A] ; +0x40, 0x5e4f28 LDR.W R0, [R4,#0x14C] ; +0x44, 0x5e4f2c STRB.W R3, [SP,#0x14+var_B] ; +0x48, 0x5e4f30 LDR R3, [R0] ; +0x4c, 0x5e4f34 LDR.W R3, [R3,#0x1E0] ; +0x4e, 0x5e4f36 BLX R3 ; +0x52, 0x5e4f3a LDR R2, [SP,#0x14+var_8] ; +0x54, 0x5e4f3c LDR R3, [R5] ; +0x56, 0x5e4f3e CMP R2, R3 ; +0x58, 0x5e4f40 BEQ loc_5E4F48 ; +0x5a, 0x5e4f42 BLX __stack_chk_fail ; +0x5c, 0x5e4f44 ADD SP, SP, #0x14 ; +0x60, 0x5e4f48 POP {R4,R5,PC} ; +0x62, 0x5e4f4a