//
// MoreOptionsLayer::onClose from 0x421ec0 to 0x421f24 (100 bytes)
//
// 1 xrefs:
// > MoreOptionsLayer::keyBackClicked @ 0x421f2a
//
// 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 MoreOptionsLayer::onClose(MoreOptionsLayer *a1, cocos2d::CCObject *a2)
{
FMODAudioEngine *v3; // r7
char *v4[3]; // [sp+0h] [bp-Ch] BYREF
v4[0] = (char *)a1;
v4[1] = (char *)a2;
a1->m_offsetInput->onClickTrackNode(a1->m_offsetInput, 0);
v3 = FMODAudioEngine::sharedEngine();
CCTextInputNode::getString((CCTextInputNode *)v4, (int)a1->m_offsetInput);
v3->m_musicOffset = atoi(v4[0]);
sub_774008(v4);
a1->setKeypadEnabled(a1, 0);
a1->removeFromParentAndCleanup(a1, 1);
}