// // EditorUI::deselectObjectsColor from 0x1401c9840 to 0x1401c98cc (140 bytes) // // 4 xrefs: // > EditorUI::checkLiveColorSelect @ 0x1401c97dc // > @ 0x1408a2eb0 // > @ 0x1408a2ec0 // > @ 0x14091a8d0 // // 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 11:28:06 +0000 // unsigned int __fastcall EditorUI::deselectObjectsColor(__int64 a1) { __int64 v2; // rcx unsigned int result; // eax unsigned int v4; // ebx struct cocos2d::CCObject *v5; // rax v2 = *(_QWORD *)(a1 + 1568); if ( v2 ) { *(_BYTE *)(v2 + 1141) = 0; return GameObject::updateObjectEditorColor(v2); } else { result = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 944)); if ( result ) { v4 = 0; result = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 944)); if ( result ) { do { v5 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 944), v4); *((_BYTE *)v5 + 1141) = 0; GameObject::updateObjectEditorColor(v5); ++v4; result = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 944)); } while ( v4 < result ); } } } return result; }