//
// AccountHelpLayer::layerHidden from 0x140080370 to 0x1400803f6 (134 bytes)
//
// 4 xrefs:
// > ??> @ 0x14053b128
// > ??> @ 0x1406680d8
// > ??> @ 0x1406680e8
// > ??> @ 0x1406c699c
//
// 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 AccountHelpLayer::layerHidden(AccountHelpLayer *a1)
{
AccountLayer *v2; // rbx
cocos2d::CCNode *v3; // rax
_BOOL8 v4; // rdx
if ( a1->m_unk290 )
{
v2 = AccountLayer::create();
v3 = a1->getParent(a1);
v3->addChild_0(v3, v2, 100);
v2->showLayer(v2, 0);
}
a1->setVisible(a1, 0);
if ( a1->m_closeOnHide )
{
LOBYTE(v4) = 1;
a1->removeFromParentAndCleanup(a1, v4);
}
}