//
// CustomizeObjectLayer::onEditColor from 0x57e6c4 to 0x57e6fe (58 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:52:51 +0000
//
int __fastcall CustomizeObjectLayer::onEditColor(CustomizeObjectLayer *this, cocos2d::CCObject *a2)
{
GameManager *ActiveMode; // r5
int v4; // r0
ColorSelectPopup *ColorAction; // r0
ColorAction *v6; // r1
int v7; // r2
ColorAction *v8; // r3
int *v9; // r0
int v10; // r3
ActiveMode = (GameManager *)CustomizeObjectLayer::getActiveMode(this, 1);
v4 = GameManager::sharedState(ActiveMode);
ColorAction = (ColorSelectPopup *)GJEffectManager::getColorAction(
*(GJEffectManager **)(*(_DWORD *)(*(_DWORD *)(v4 + 408) + 2084) + 264),
(int)ActiveMode);
v9 = ColorSelectPopup::create(ColorAction, v6, v7, v8);
v10 = *v9;
v9[191] = (int)this + 524;
return (*(int (**)(void))(v10 + 656))();
}