//
// GJGarageLayer::onPaint from 0x10036c110 to 0x10036c166 (86 bytes)
//
// 1 xrefs:
// > GJGarageLayer::init @ 0x10036a12b
//
// 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 __fastcall GJGarageLayer::onPaint(GJGarageLayer *a1, cocos2d::CCObject *a2)
{
CharacterColorPage *v2; // rax
ListButtonBar *m_iconSelection; // rdi
v2 = CharacterColorPage::create();
v2->m_delegate = &a1->CharacterColorDelegate;
v2->m_scene = a1;
((void (__fastcall *)(CharacterColorPage *, cocos2d::CCObject *))v2->show)(v2, a2);
m_iconSelection = a1->m_iconSelection;
if ( m_iconSelection )
((void (__fastcall *)(ListButtonBar *, _QWORD))m_iconSelection->setVisible)(m_iconSelection, 0);
}