; ; CustomizeObjectLayer::highlightSelected from 0x461f04 to 0x461fb2 (174 bytes) ; ; 4 xrefs: ; > CustomizeObjectLayer::onSelectColor @ 0x461fee ; > CustomizeObjectLayer::colorSetupClosed @ 0x46204a ; > CustomizeObjectLayer::onNextColorChannel @ 0x4620b8 ; > CustomizeObjectLayer::updateCurrentSelection @ 0x46210e ; ; 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 ; PUSH.W {R4-R10,LR} ; +0x0, 0x461f04 MOV R5, R0 ; +0x4, 0x461f08 LDR.W R8, =(aGjButton04Png - 0x461F1A); "GJ_button_04.png" ; +0x6, 0x461f0a MOV R4, R1 ; +0xa, 0x461f0e LDR.W R9, =(aGjButton05Png - 0x461F1C); "GJ_button_05.png" ; +0xc, 0x461f10 MOVS R6, #0 ; +0x10, 0x461f14 ADD R8, PC; "GJ_button_04.png" ; +0x12, 0x461f16 ADD R9, PC; "GJ_button_05.png" ; +0x14, 0x461f18 LDR.W R0, [R5,#0x208]; this ; +0x16, 0x461f1a BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x1a, 0x461f1e CMP R6, R0 ; +0x1e, 0x461f22 BCS loc_461F4C ; +0x20, 0x461f24 MOV R1, R6; unsigned int ; +0x22, 0x461f26 LDR.W R0, [R5,#0x208]; this ; +0x24, 0x461f28 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x28, 0x461f2c ADDS R6, #1 ; +0x2c, 0x461f30 LDR R3, [R0] ; +0x2e, 0x461f32 MOV R7, R0 ; +0x30, 0x461f34 LDR R3, [R3,#0x20] ; +0x32, 0x461f36 BLX R3 ; +0x34, 0x461f38 CMP.W R0, #0x3F0 ; +0x36, 0x461f3a MOV R0, R7; this ; +0x3a, 0x461f3e ITE NE ; +0x3c, 0x461f40 MOVNE R1, R8 ; +0x3e, 0x461f42 MOVEQ R1, R9; char * ; +0x40, 0x461f44 BL _ZN12ButtonSprite13updateBGImageEPKc; ButtonSprite::updateBGImage(char const*) ; +0x42, 0x461f46 B loc_461F1A ; +0x46, 0x461f4a CBZ R4, loc_461F68 ; +0x48, 0x461f4c LDR R1, =(aGjButton02Png - 0x461F56); "GJ_button_02.png" ; +0x4a, 0x461f4e MOV R0, R4; this ; +0x4c, 0x461f50 ADD R1, PC; "GJ_button_02.png" ; +0x4e, 0x461f52 BL _ZN12ButtonSprite13updateBGImageEPKc; ButtonSprite::updateBGImage(char const*) ; +0x50, 0x461f54 LDR R3, [R4] ; +0x54, 0x461f58 MOV R0, R4 ; +0x56, 0x461f5a LDR R3, [R3,#0x20] ; +0x58, 0x461f5c BLX R3 ; +0x5a, 0x461f5e SUB.W R3, R0, #0x3F0 ; +0x5c, 0x461f60 NEGS R4, R3 ; +0x60, 0x461f64 ADCS R4, R3 ; +0x62, 0x461f66 LDR.W R0, [R5,#0x260] ; +0x64, 0x461f68 MOV R1, R4 ; +0x68, 0x461f6c LDR R3, [R0] ; +0x6a, 0x461f6e LDR.W R3, [R3,#0xA4] ; +0x6c, 0x461f70 BLX R3 ; +0x70, 0x461f74 LDR.W R0, [R5,#0x264] ; +0x72, 0x461f76 MOV R1, R4 ; +0x76, 0x461f7a LDR R3, [R0] ; +0x78, 0x461f7c LDR.W R3, [R3,#0xA4] ; +0x7a, 0x461f7e BLX R3 ; +0x7e, 0x461f82 LDR.W R0, [R5,#0x244] ; +0x80, 0x461f84 MOV R1, R4 ; +0x84, 0x461f88 LDR R3, [R0] ; +0x86, 0x461f8a LDR.W R3, [R3,#0x1EC] ; +0x88, 0x461f8c BLX R3 ; +0x8c, 0x461f90 LDR.W R0, [R5,#0x244] ; +0x8e, 0x461f92 MOV R1, R4 ; +0x92, 0x461f96 LDR R3, [R0] ; +0x94, 0x461f98 LDR.W R3, [R3,#0xA4] ; +0x96, 0x461f9a BLX R3 ; +0x9a, 0x461f9e LDR.W R0, [R5,#0x268] ; +0x9c, 0x461fa0 MOV R1, R4 ; +0xa0, 0x461fa4 POP.W {R4-R10,LR} ; +0xa2, 0x461fa6 LDR R3, [R0] ; +0xa6, 0x461faa LDR.W R3, [R3,#0xA4] ; +0xa8, 0x461fac BX R3 ; +0xac, 0x461fb0