; ; CustomizeObjectLayer::hsvPopupClosed from 0x461918 to 0x46198c (116 bytes) ; ; 1 xrefs: ; > `non-virtual thunk to'CustomizeObjectLayer::hsvPopupClosed @ 0x461990 ; ; 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 ; SUB SP, SP, #8 ; +0x0, 0x461918 PUSH {R3-R7,LR} ; +0x2, 0x46191a MOV R6, R0 ; +0x4, 0x46191c ADD R0, SP, #0x20+var_8 ; +0x6, 0x46191e STM.W R0, {R2,R3} ; +0x8, 0x461920 MOV R0, R1 ; +0xc, 0x461924 LDR R3, [R1] ; +0xe, 0x461926 LDR R3, [R3,#0x20] ; +0x10, 0x461928 BLX R3 ; +0x12, 0x46192a CMP R0, #1 ; +0x14, 0x46192c LDR.W R0, [R6,#0x200]; this ; +0x16, 0x46192e ITE EQ ; +0x1a, 0x461932 MOVEQ R7, #1 ; +0x1c, 0x461934 MOVNE R7, #2 ; +0x1e, 0x461936 CBZ R0, loc_461950 ; +0x20, 0x461938 MOV R1, R7; int ; +0x22, 0x46193a BL _ZN10GameObject22getRelativeSpriteColorEi; GameObject::getRelativeSpriteColor(int) ; +0x24, 0x46193c CBZ R0, loc_461980 ; +0x28, 0x461940 ADD R3, SP, #0x20+var_8 ; +0x2a, 0x461942 ADD.W R4, R0, #0x10 ; +0x2c, 0x461944 LDM R3, {R0-R3} ; +0x30, 0x461948 STM.W R4, {R0-R3} ; +0x32, 0x46194a B loc_461980 ; +0x36, 0x46194e MOV R4, R0 ; +0x38, 0x461950 LDR.W R0, [R6,#0x204]; this ; +0x3a, 0x461952 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x3e, 0x461956 CMP R4, R0 ; +0x42, 0x46195a BCS loc_461980 ; +0x44, 0x46195c MOV R1, R4; unsigned int ; +0x46, 0x46195e LDR.W R0, [R6,#0x204]; this ; +0x48, 0x461960 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x4c, 0x461964 MOV R1, R7; int ; +0x50, 0x461968 BL _ZN10GameObject22getRelativeSpriteColorEi; GameObject::getRelativeSpriteColor(int) ; +0x52, 0x46196a CBZ R0, loc_46197C ; +0x56, 0x46196e ADD R3, SP, #0x20+var_8 ; +0x58, 0x461970 ADD.W R5, R0, #0x10 ; +0x5a, 0x461972 LDM R3, {R0-R3} ; +0x5e, 0x461976 STM.W R5, {R0-R3} ; +0x60, 0x461978 ADDS R4, #1 ; +0x64, 0x46197c B loc_461952 ; +0x66, 0x46197e MOV R0, R6; this ; +0x68, 0x461980 POP.W {R3-R7,LR} ; +0x6a, 0x461982 ADD SP, SP, #8 ; +0x6e, 0x461986 B.W _ZN20CustomizeObjectLayer16updateHSVButtonsEv; CustomizeObjectLayer::updateHSVButtons(void) ; +0x70, 0x461988