; ; ConfigureHSVWidget::updateLabels from 0x4b6c54 to 0x4b6ea2 (590 bytes) ; ; 5 xrefs: ; > ConfigureHSVWidget::sliderChanged @ 0x4b6f82 ; > ConfigureHSVWidget::onToggleSConst @ 0x4b6fea ; > ConfigureHSVWidget::onToggleVConst @ 0x4b703e ; > ConfigureHSVWidget::onResetHSV @ 0x4b7094 ; > ConfigureHSVWidget::init @ 0x4b7628 ; ; 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 ; LDR R3, =(__stack_chk_guard_ptr - 0x4B6C5E) ; +0x0, 0x4b6c54 PUSH.W {R4-R8,LR} ; +0x2, 0x4b6c56 ADD R3, PC; __stack_chk_guard_ptr ; +0x6, 0x4b6c5a LDR R3, [R3]; __stack_chk_guard ; +0x8, 0x4b6c5c SUB SP, SP, #0x18 ; +0xa, 0x4b6c5e MOV R4, R0 ; +0xc, 0x4b6c60 LDR R2, [R3] ; +0xe, 0x4b6c62 MOV R8, R3 ; +0x10, 0x4b6c64 ADD R5, SP, #0x18+var_8 ; +0x12, 0x4b6c66 ADD R6, SP, #0x18+var_C ; +0x14, 0x4b6c68 STR R2, [SP,#0x18+var_4] ; +0x16, 0x4b6c6a LDRB.W R2, [R0,#0x13C] ; +0x18, 0x4b6c6c CMP R2, #0 ; +0x1c, 0x4b6c70 BEQ loc_4B6D34 ; +0x1e, 0x4b6c72 MOVS R1, #1; int ; +0x20, 0x4b6c74 STRB.W R1, [R0,#0x13D] ; +0x22, 0x4b6c76 LDR.W R0, [R0,#0x140]; this ; +0x26, 0x4b6c7a BL _ZN7cocos2d12CCDictionary12objectForKeyEi; cocos2d::CCDictionary::objectForKey(int) ; +0x2a, 0x4b6c7e VLDR S15, [R4,#0x124] ; +0x2e, 0x4b6c82 VCVT.F64.F32 D7, S15 ; +0x32, 0x4b6c86 VMOV R2, R3, D7 ; +0x36, 0x4b6c8a MOV R7, R0 ; +0x3a, 0x4b6c8e LDR R0, =(a0f - 0x4B6C96); "%.0f" ; +0x3c, 0x4b6c90 ADD R0, PC; "%.0f" ; +0x3e, 0x4b6c92 BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x40, 0x4b6c94 BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x44, 0x4b6c98 MOV R2, R6 ; +0x48, 0x4b6c9c MOV R1, R0; char * ; +0x4a, 0x4b6c9e MOV R0, R5; int ; +0x4c, 0x4b6ca0 BL sub_776584 ; +0x4e, 0x4b6ca2 MOV R0, R7 ; +0x52, 0x4b6ca6 MOV R1, R5 ; +0x54, 0x4b6ca8 BL _ZN15CCTextInputNode9setStringESs; CCTextInputNode::setString(std::string) ; +0x56, 0x4b6caa MOV R0, R5 ; +0x5a, 0x4b6cae BL sub_774008 ; +0x5c, 0x4b6cb0 MOVS R1, #2; int ; +0x60, 0x4b6cb4 LDR.W R0, [R4,#0x140]; this ; +0x62, 0x4b6cb6 BL _ZN7cocos2d12CCDictionary12objectForKeyEi; cocos2d::CCDictionary::objectForKey(int) ; +0x66, 0x4b6cba VLDR S15, [R4,#0x128] ; +0x6a, 0x4b6cbe VCVT.F64.F32 D7, S15 ; +0x6e, 0x4b6cc2 VMOV R2, R3, D7 ; +0x72, 0x4b6cc6 MOV R7, R0 ; +0x76, 0x4b6cca LDR R0, =(a2f - 0x4B6CD2); "%.2f" ; +0x78, 0x4b6ccc ADD R0, PC; "%.2f" ; +0x7a, 0x4b6cce BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x7c, 0x4b6cd0 BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x80, 0x4b6cd4 MOV R2, R6 ; +0x84, 0x4b6cd8 MOV R1, R0; char * ; +0x86, 0x4b6cda MOV R0, R5; int ; +0x88, 0x4b6cdc BL sub_776584 ; +0x8a, 0x4b6cde MOV R0, R7 ; +0x8e, 0x4b6ce2 MOV R1, R5 ; +0x90, 0x4b6ce4 BL _ZN15CCTextInputNode9setStringESs; CCTextInputNode::setString(std::string) ; +0x92, 0x4b6ce6 MOV R0, R5 ; +0x96, 0x4b6cea BL sub_774008 ; +0x98, 0x4b6cec MOVS R1, #3; int ; +0x9c, 0x4b6cf0 LDR.W R0, [R4,#0x140]; this ; +0x9e, 0x4b6cf2 BL _ZN7cocos2d12CCDictionary12objectForKeyEi; cocos2d::CCDictionary::objectForKey(int) ; +0xa2, 0x4b6cf6 VLDR S15, [R4,#0x12C] ; +0xa6, 0x4b6cfa VCVT.F64.F32 D7, S15 ; +0xaa, 0x4b6cfe VMOV R2, R3, D7 ; +0xae, 0x4b6d02 MOV R7, R0 ; +0xb2, 0x4b6d06 LDR R0, =(a2f - 0x4B6D0E); "%.2f" ; +0xb4, 0x4b6d08 ADD R0, PC; "%.2f" ; +0xb6, 0x4b6d0a BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0xb8, 0x4b6d0c BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0xbc, 0x4b6d10 MOV R2, R6 ; +0xc0, 0x4b6d14 MOV R1, R0; char * ; +0xc2, 0x4b6d16 MOV R0, R5; int ; +0xc4, 0x4b6d18 BL sub_776584 ; +0xc6, 0x4b6d1a MOV R0, R7 ; +0xca, 0x4b6d1e MOV R1, R5 ; +0xcc, 0x4b6d20 BL _ZN15CCTextInputNode9setStringESs; CCTextInputNode::setString(std::string) ; +0xce, 0x4b6d22 MOV R0, R5 ; +0xd2, 0x4b6d26 BL sub_774008 ; +0xd4, 0x4b6d28 MOVS R3, #0 ; +0xd8, 0x4b6d2c STRB.W R3, [R4,#0x13D] ; +0xda, 0x4b6d2e B loc_4B6E66 ; +0xde, 0x4b6d32 ADD R7, SP, #0x18+var_10 ; +0xe0, 0x4b6d34 LDR R1, =(aHue - 0x4B6D40); "Hue: " ; +0xe2, 0x4b6d36 MOV R2, R5 ; +0xe4, 0x4b6d38 MOV R0, R7; int ; +0xe6, 0x4b6d3a ADD R1, PC; "Hue: " ; +0xe8, 0x4b6d3c BL sub_776584 ; +0xea, 0x4b6d3e VLDR S15, [R4,#0x124] ; +0xee, 0x4b6d42 VCMPE.F32 S15, #0.0 ; +0xf2, 0x4b6d46 VMRS APSR_nzcv, FPSCR ; +0xf6, 0x4b6d4a BGT loc_4B6D6A ; +0xfa, 0x4b6d4e VLDR S15, [R4,#0x124] ; +0xfc, 0x4b6d50 LDR R0, =(aI - 0x4B6D5A); "%i" ; +0x100, 0x4b6d54 ADD R0, PC; "%i" ; +0x102, 0x4b6d56 VCVT.S32.F32 S15, S15 ; +0x104, 0x4b6d58 VMOV R1, S15; char * ; +0x108, 0x4b6d5c BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x10c, 0x4b6d60 BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x110, 0x4b6d64 B loc_4B6D76 ; +0x114, 0x4b6d68 LDR R1, =(asc_98516C - 0x4B6D72); "+" ; +0x116, 0x4b6d6a MOV R0, R7; int ; +0x118, 0x4b6d6c ADD R1, PC; "+" ; +0x11a, 0x4b6d6e BL sub_774544 ; +0x11c, 0x4b6d70 B loc_4B6D50 ; +0x120, 0x4b6d74 MOV R1, R0; char * ; +0x122, 0x4b6d76 MOV R0, R7; int ; +0x124, 0x4b6d78 BL sub_774544 ; +0x126, 0x4b6d7a LDR.W R0, [R4,#0x10C] ; +0x12a, 0x4b6d7e LDR R1, [SP,#0x18+var_10] ; +0x12e, 0x4b6d82 LDR R3, [R0] ; +0x130, 0x4b6d84 LDR.W R3, [R3,#0x1C8] ; +0x132, 0x4b6d86 BLX R3 ; +0x136, 0x4b6d8a LDR R1, =(aSaturation - 0x4B6D96); "Saturation: " ; +0x138, 0x4b6d8c MOV R0, R6; int ; +0x13a, 0x4b6d8e MOV R2, R5 ; +0x13c, 0x4b6d90 ADD R1, PC; "Saturation: " ; +0x13e, 0x4b6d92 BL sub_776584 ; +0x140, 0x4b6d94 LDRB.W R3, [R4,#0x130] ; +0x144, 0x4b6d98 CBZ R3, loc_4B6DCE ; +0x148, 0x4b6d9c VLDR S15, [R4,#0x128] ; +0x14a, 0x4b6d9e VCMPE.F32 S15, #0.0 ; +0x14e, 0x4b6da2 VMRS APSR_nzcv, FPSCR ; +0x152, 0x4b6da6 BGT loc_4B6DC6 ; +0x156, 0x4b6daa VLDR S15, [R4,#0x128] ; +0x158, 0x4b6dac LDR R0, =(a02f_0 - 0x4B6DB6); "%.02f" ; +0x15c, 0x4b6db0 ADD R0, PC; "%.02f" ; +0x15e, 0x4b6db2 VCVT.F64.F32 D7, S15 ; +0x160, 0x4b6db4 VMOV R2, R3, D7 ; +0x164, 0x4b6db8 BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x168, 0x4b6dbc BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x16c, 0x4b6dc0 B loc_4B6DDA ; +0x170, 0x4b6dc4 LDR R1, =(asc_98516C - 0x4B6DCE); "+" ; +0x172, 0x4b6dc6 MOV R0, R6 ; +0x174, 0x4b6dc8 ADD R1, PC; "+" ; +0x176, 0x4b6dca B loc_4B6DD4 ; +0x178, 0x4b6dcc LDR R1, =(aX_0 - 0x4B6DD6); "x" ; +0x17a, 0x4b6dce MOV R0, R6; int ; +0x17c, 0x4b6dd0 ADD R1, PC; "x" ; +0x17e, 0x4b6dd2 BL sub_774544 ; +0x180, 0x4b6dd4 B loc_4B6DAC ; +0x184, 0x4b6dd8 MOV R1, R0; char * ; +0x186, 0x4b6dda MOV R0, R6; int ; +0x188, 0x4b6ddc BL sub_774544 ; +0x18a, 0x4b6dde LDR.W R0, [R4,#0x110] ; +0x18e, 0x4b6de2 LDR R1, [SP,#0x18+var_C] ; +0x192, 0x4b6de6 LDR R3, [R0] ; +0x194, 0x4b6de8 LDR.W R3, [R3,#0x1C8] ; +0x196, 0x4b6dea BLX R3 ; +0x19a, 0x4b6dee LDR R1, =(aBrightness - 0x4B6DFA); "Brightness: " ; +0x19c, 0x4b6df0 MOV R0, R5; int ; +0x19e, 0x4b6df2 ADD R2, SP, #0x18+var_14 ; +0x1a0, 0x4b6df4 ADD R1, PC; "Brightness: " ; +0x1a2, 0x4b6df6 BL sub_776584 ; +0x1a4, 0x4b6df8 LDRB.W R3, [R4,#0x131] ; +0x1a8, 0x4b6dfc CBZ R3, loc_4B6E32 ; +0x1ac, 0x4b6e00 VLDR S15, [R4,#0x12C] ; +0x1ae, 0x4b6e02 VCMPE.F32 S15, #0.0 ; +0x1b2, 0x4b6e06 VMRS APSR_nzcv, FPSCR ; +0x1b6, 0x4b6e0a BGT loc_4B6E2A ; +0x1ba, 0x4b6e0e VLDR S15, [R4,#0x12C] ; +0x1bc, 0x4b6e10 LDR R0, =(a02f_0 - 0x4B6E1A); "%.02f" ; +0x1c0, 0x4b6e14 ADD R0, PC; "%.02f" ; +0x1c2, 0x4b6e16 VCVT.F64.F32 D7, S15 ; +0x1c4, 0x4b6e18 VMOV R2, R3, D7 ; +0x1c8, 0x4b6e1c BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x1cc, 0x4b6e20 BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x1d0, 0x4b6e24 B loc_4B6E3E ; +0x1d4, 0x4b6e28 LDR R1, =(asc_98516C - 0x4B6E32); "+" ; +0x1d6, 0x4b6e2a MOV R0, R5 ; +0x1d8, 0x4b6e2c ADD R1, PC; "+" ; +0x1da, 0x4b6e2e B loc_4B6E38 ; +0x1dc, 0x4b6e30 LDR R1, =(aX_0 - 0x4B6E3A); "x" ; +0x1de, 0x4b6e32 MOV R0, R5; int ; +0x1e0, 0x4b6e34 ADD R1, PC; "x" ; +0x1e2, 0x4b6e36 BL sub_774544 ; +0x1e4, 0x4b6e38 B loc_4B6E10 ; +0x1e8, 0x4b6e3c MOV R1, R0; char * ; +0x1ea, 0x4b6e3e MOV R0, R5; int ; +0x1ec, 0x4b6e40 BL sub_774544 ; +0x1ee, 0x4b6e42 LDR.W R0, [R4,#0x114] ; +0x1f2, 0x4b6e46 LDR R1, [SP,#0x18+var_8] ; +0x1f6, 0x4b6e4a LDR R3, [R0] ; +0x1f8, 0x4b6e4c LDR.W R3, [R3,#0x1C8] ; +0x1fa, 0x4b6e4e BLX R3 ; +0x1fe, 0x4b6e52 MOV R0, R5 ; +0x200, 0x4b6e54 BL sub_774008 ; +0x202, 0x4b6e56 MOV R0, R6 ; +0x206, 0x4b6e5a BL sub_774008 ; +0x208, 0x4b6e5c MOV R0, R7 ; +0x20c, 0x4b6e60 BL sub_774008 ; +0x20e, 0x4b6e62 MOVS R3, #0 ; +0x212, 0x4b6e66 LDR R2, [SP,#0x18+var_4] ; +0x214, 0x4b6e68 STRB.W R3, [R4,#0x134] ; +0x216, 0x4b6e6a LDR.W R3, [R8] ; +0x21a, 0x4b6e6e CMP R2, R3 ; +0x21e, 0x4b6e72 BEQ loc_4B6E9C ; +0x220, 0x4b6e74 BLX __stack_chk_fail ; +0x222, 0x4b6e76 B loc_4B6E7C ; +0x226, 0x4b6e7a MOV R0, R5 ; +0x228, 0x4b6e7c BL sub_774008 ; +0x22a, 0x4b6e7e BL __cxa_end_cleanup ; +0x22e, 0x4b6e82 B loc_4B6E7C ; +0x232, 0x4b6e86 MOV R0, R5 ; +0x234, 0x4b6e88 BL sub_774008 ; +0x236, 0x4b6e8a B loc_4B6E90 ; +0x23a, 0x4b6e8e MOV R0, R6 ; +0x23c, 0x4b6e90 BL sub_774008 ; +0x23e, 0x4b6e92 B loc_4B6E98 ; +0x242, 0x4b6e96 MOV R0, R7 ; +0x244, 0x4b6e98 B loc_4B6E7E ; +0x246, 0x4b6e9a ADD SP, SP, #0x18 ; +0x248, 0x4b6e9c POP.W {R4-R8,PC} ; +0x24a, 0x4b6e9e