//
// CustomizeObjectLayer::onBrowse from 0x1400a8310 to 0x1400a8397 (135 bytes)
//
// 2 xrefs:
// > CustomizeObjectLayer::init @ 0x1400a7bed
// > ??> @ 0x1406c7794
//
// 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
//
void CustomizeObjectLayer::onBrowse(CustomizeObjectLayer *a1, cocos2d::CCObject *a2)
{
__int64 v3; // rcx
GJColorSetupLayer *v4; // rax
ColorSetupDelegate *v5; // rcx
void *v6; // [rsp+30h] [rbp+8h]
v3 = qword_1406C2ED8;
if ( !qword_1406C2ED8 )
{
v6 = operator new(0x668u);
qword_1406C2ED8 = sub_14017AB00(v6);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);
v3 = qword_1406C2ED8;
}
v4 = GJColorSetupLayer::create(*(LevelSettingsObject **)(*(_QWORD *)(v3 + 528) + 3504LL));
v4->m_closeOnSelect = 1;
v5 = &a1->ColorSetupDelegate;
if ( !a1 )
v5 = nullptr;
v4->m_delegate = v5;
v4->show(v4);
}