//
// CharacterColorPage::onClose from 0x14008a7b0 to 0x14008a7ec (60 bytes)
//
// 2 xrefs:
// > CharacterColorPage::init @ 0x1400880f2
// > ??> @ 0x1406c6d38
//
// 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 CharacterColorPage::onClose(CharacterColorPage *a1, cocos2d::CCObject *a2)
{
CharacterColorDelegate *m_delegate; // rcx
_BOOL8 v4; // rdx
m_delegate = a1->m_delegate;
if ( m_delegate )
((void (__fastcall *)(CharacterColorDelegate *, cocos2d::CCObject *))m_delegate->playerColorChanged)(m_delegate, a2);
a1->setKeypadEnabled(a1, 0);
LOBYTE(v4) = 1;
a1->removeFromParentAndCleanup(a1, v4);
}