//
// BrowseSmartTemplateLayer::create from 0x6756d0 to 0x67577a (170 bytes)
//
// 2 xrefs:
// > SetupSmartTemplateLayer::onClick @ 0x6757b4
// > BrowseSmartKeyLayer::onBack @ 0x675868
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:55:55 +0000
//
FLAlertLayer *__fastcall BrowseSmartTemplateLayer::create(cocos2d::CCObject *a1)
{
FLAlertLayer *v2; // r4
int v3; // r3
FLAlertLayer *v4; // r0
v2 = (FLAlertLayer *)operator new(0x220u);
FLAlertLayer::FLAlertLayer(v2);
*(_DWORD *)v2 = &off_CD32B8;
*((_DWORD *)v2 + 66) = &off_CD3564;
*((_DWORD *)v2 + 67) = &off_CD359C;
*((_DWORD *)v2 + 68) = &off_CD35A8;
*((_DWORD *)v2 + 69) = &off_CD35B8;
*((_DWORD *)v2 + 70) = &off_CD35CC;
*((_DWORD *)v2 + 79) = &off_CD35E4;
*((_DWORD *)v2 + 83) = &off_CD3624;
*((_DWORD *)v2 + 110) = &off_CD3634;
*((_DWORD *)v2 + 130) = 0;
*((_DWORD *)v2 + 131) = 0;
*((_DWORD *)v2 + 132) = 0;
*((_DWORD *)v2 + 133) = 0;
*((_DWORD *)v2 + 134) = 0;
*((_DWORD *)v2 + 135) = 0;
if ( BrowseSmartTemplateLayer::init((const cocos2d::CCPoint **)v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
v3 = *(_DWORD *)v2;
v4 = v2;
v2 = nullptr;
(*(void (__fastcall **)(FLAlertLayer *))(v3 + 8))(v4);
}
return v2;
}