// // EditorUI::editColor from 0x7c5ca0 to 0x7c5dd4 (308 bytes) // // 3 xrefs: // > EditorUI::onEditColor @ 0x7c60c4 // > EditorUI::checkLiveColorSelect @ 0xbdca14 // > @ 0xc0190 // // This function is hookable on this platform (idp: arm, 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:54:08 +0000 // __int64 __fastcall EditorUI::editColor(cocos2d::CCArray **this) { EffectGameObject *v2; // x1 ColorAction *v3; // x2 __int64 v4; // x0 GameObject *v6; // x0 unsigned int v7; // w21 unsigned int v8; // w1 GameObject *v9; // x0 __int128 v10; // [xsp+30h] [xbp+30h] BYREF EffectGameObject *v11; // [xsp+40h] [xbp+40h] BYREF v10 = 0u; v11 = nullptr; EditorUI::getEditColorTargets((EditorUI *)this, (ColorAction **)&v10, (ColorAction **)&v10 + 1, &v11); if ( v10 != 0 || v11 ) { EditorUI::closeLiveColorSelect((__int64)this); EditorUI::closeLiveHSVSelect((__int64)this); *(this + 193) = nullptr; v4 = v11 ? ColorSelectLiveOverlay::createWithObject(v11, v2) : ColorSelectLiveOverlay::createWithActions((ColorSelectLiveOverlay *)v10, *((ColorAction **)&v10 + 1), v3); *(this + 193) = (cocos2d::CCArray *)v4; *(_QWORD *)(v4 + 736) = this + 52; *((_QWORD *)*(this + 193) + 71) = this; (*(void (__fastcall **)(_QWORD))(*(_QWORD *)*(this + 193) + 1312LL))(*(this + 193)); if ( !v11 ) { v6 = *(this + 187); if ( v6 ) { GameObject::deselectObject(v6); } else { v7 = 0; if ( (unsigned int)cocos2d::CCArray::count(*(this + 112)) ) { while ( v7 < (unsigned int)cocos2d::CCArray::count(*(this + 112)) ) { v8 = v7++; v9 = (GameObject *)cocos2d::CCArray::objectAtIndex(*(this + 112), v8); GameObject::deselectObject(v9); } } } } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source