; ; ColorSelectPopup::onHSVLegacyMode from 0x3d9f0e to 0x3d9f56 (72 bytes) ; ; 0 xrefs: ; ; 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 {R3-R5,LR} ; +0x0, 0x3d9f0e MOV R5, R0 ; +0x2, 0x3d9f10 LDR.W R4, [R0,#0x1FC] ; +0x4, 0x3d9f12 LDRB.W R3, [R0,#0x2FA] ; +0x8, 0x3d9f16 EOR.W R3, R3, #1 ; +0xc, 0x3d9f1a STRB.W R3, [R0,#0x2FA] ; +0x10, 0x3d9f1e CBZ R4, loc_3D9F2A ; +0x14, 0x3d9f22 STRB.W R3, [R4,#0x5A8] ; +0x16, 0x3d9f24 POP {R3-R5,PC} ; +0x1a, 0x3d9f28 LDR.W R3, [R0,#0x200] ; +0x1c, 0x3d9f2a CBNZ R3, loc_3D9F32 ; +0x20, 0x3d9f2e POP {R3-R5,PC} ; +0x22, 0x3d9f30 LDR.W R0, [R5,#0x200]; this ; +0x24, 0x3d9f32 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x28, 0x3d9f36 CMP R4, R0 ; +0x2c, 0x3d9f3a BCS locret_3D9F54 ; +0x2e, 0x3d9f3c MOV R1, R4; unsigned int ; +0x30, 0x3d9f3e LDR.W R0, [R5,#0x200]; this ; +0x32, 0x3d9f40 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x36, 0x3d9f44 LDRB.W R3, [R5,#0x2FA] ; +0x3a, 0x3d9f48 ADDS R4, #1 ; +0x3e, 0x3d9f4c STRB.W R3, [R0,#0x5A8] ; +0x40, 0x3d9f4e B loc_3D9F32 ; +0x44, 0x3d9f52 POP {R3-R5,PC} ; +0x46, 0x3d9f54