; ; ColorSelectPopup::updateCustomColorIdx from 0x3da490 to 0x3da4da (74 bytes) ; ; 3 xrefs: ; > ColorSelectPopup::onUpdateCustomColor @ 0x3da5cc ; > ColorSelectPopup::colorSelectClosed @ 0x3da788 ; > ColorSelectPopup::textChanged @ 0x3dd06c ; ; 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, 0x3da490 MOV R5, R0 ; +0x2, 0x3da492 LDR.W R3, [R0,#0x300] ; +0x4, 0x3da494 LDR.W R4, [R0,#0x1FC] ; +0x8, 0x3da498 CMP R3, #1 ; +0xc, 0x3da49c IT LT ; +0xe, 0x3da49e MOVLT R3, #1 ; +0x10, 0x3da4a0 STR.W R3, [R0,#0x300] ; +0x12, 0x3da4a2 CBZ R4, loc_3DA4AE ; +0x16, 0x3da4a6 STR.W R3, [R4,#0x370] ; +0x18, 0x3da4a8 POP {R3-R5,PC} ; +0x1c, 0x3da4ac LDR.W R3, [R0,#0x200] ; +0x1e, 0x3da4ae CBNZ R3, loc_3DA4B6 ; +0x22, 0x3da4b2 POP {R3-R5,PC} ; +0x24, 0x3da4b4 LDR.W R0, [R5,#0x200]; this ; +0x26, 0x3da4b6 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x2a, 0x3da4ba CMP R4, R0 ; +0x2e, 0x3da4be BCS locret_3DA4D8 ; +0x30, 0x3da4c0 MOV R1, R4; unsigned int ; +0x32, 0x3da4c2 LDR.W R0, [R5,#0x200]; this ; +0x34, 0x3da4c4 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x38, 0x3da4c8 LDR.W R3, [R5,#0x300] ; +0x3c, 0x3da4cc ADDS R4, #1 ; +0x40, 0x3da4d0 STR.W R3, [R0,#0x370] ; +0x42, 0x3da4d2 B loc_3DA4B6 ; +0x46, 0x3da4d6 POP {R3-R5,PC} ; +0x48, 0x3da4d8