// // EditorUI::checkLiveColorSelect from 0x1005b8ef0 to 0x1005b902e (318 bytes) // // 2 xrefs: // > EditorUI::selectObject @ 0x1005b8825 // > EditorUI::selectObjects @ 0x1005b8ee4 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:32:43 +0000 // void __fastcall EditorUI::checkLiveColorSelect(_QWORD *a1) { __int64 v2; // rdi _OWORD *v3; // r14 __int64 v4; // rax __int64 v5; // r14 unsigned int v6; // r14d __int64 v7; // rax if ( a1[193] ) { EditorUI::closeLiveColorSelect((__int64)a1); EditorUI::editColor(a1); v2 = a1[187]; if ( v2 ) { LABEL_3: (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 1528LL))(v2, 65280); LABEL_4: cocos2d::CCNode::stopActionByTag((__int64)a1, 124); v3 = cocos2d::CCDelayTime::create((__m128)0x3DCCCCCDu); v4 = cocos2d::CCCallFunc::create(a1, EditorUI::deselectObjectsColor, 0); v5 = sub_10039EB60((__int64)v3, v4, 0); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 72LL))(v5, 124); cocos2d::CCNode::runAction((__int64)a1, v5); return; } LABEL_7: if ( (unsigned int)sub_1007FEF90(a1[112]) && (unsigned int)sub_1007FEF90(a1[112]) ) { v6 = 0; do { v7 = sub_1007FEFE0(a1[112], v6); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 1528LL))(v7, 65280); ++v6; } while ( v6 < (unsigned int)sub_1007FEF90(a1[112]) ); } goto LABEL_4; } if ( a1[194] ) { EditorUI::closeLiveHSVSelect((__int64)a1); EditorUI::editHSV(a1); v2 = a1[187]; if ( v2 ) goto LABEL_3; goto LABEL_7; } }