//
// SecretLayer5::create from 0x59c710 to 0x59c7f4 (228 bytes)
//
// 1 xrefs:
// > SecretLayer5::scene @ 0x59c80a
//
// 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
//
SecretLayer5 *SecretLayer5::create()
{
SecretLayer5 *v0; // r4
SecretLayer5_vtbl *v1; // r3
SecretLayer5 *v2; // r0
v0 = (SecretLayer5 *)operator new(0x1BCu);
cocos2d::CCLayer::CCLayer(v0);
v0->m_threadTag = -1;
v0->m_basicMessageIndex = -1;
v0->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SecretLayer5_vtbl *)&off_A9ACE0;
v0->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A9AF3C;
v0->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A9AF74;
v0->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A9AF80;
v0->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A9AF90;
v0->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A9AFA0;
v0->TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&off_A9AFB4;
v0->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&off_A9AFD8;
v0->DialogDelegate::__vftable = (DialogDelegate_vtbl *)&off_A9AFE4;
v0->m_errorMessageIndex = -1;
v0->GJOnlineRewardDelegate::__vftable = (GJOnlineRewardDelegate_vtbl *)&off_A9AFF0;
v0->m_chestID.m_data.m_data = (stl::StringData::Internal *)&unk_ACDDA8;
v0->m_selectedThread = 0;
v0->m_threadMessageIndex = 0;
v0->m_basicMessageCount = 0;
v0->m_textInput = nullptr;
v0->m_messageLabel = nullptr;
v0->m_exiting = 0;
v0->m_torchFires = nullptr;
v0->m_loading = 0;
v0->m_rewardStatus = 0;
v0->m_uiLocked = 0;
v0->m_soundEffects.m_start = nullptr;
v0->m_soundEffects.m_finish = nullptr;
v0->m_soundEffects.m_reserveEnd = nullptr;
v0->m_chatIndex = -1;
if ( SecretLayer5::init(v0) )
{
cocos2d::CCObject::autorelease(v0);
}
else
{
v1 = v0->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v2 = v0;
v0 = nullptr;
v1->~SecretLayer5_0(v2);
}
return v0;
}