//
// SetupSmartTemplateLayer::onBack from 0x674ad4 to 0x674af2 (30 bytes)
//
// 2 xrefs:
// > SetupSmartTemplateLayer::FLAlert_Clicked @ 0x674b1a
// > SetupSmartTemplateLayer::keyBackClicked @ 0x674b2a
//
// 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
//
int __fastcall SetupSmartTemplateLayer::onBack(SetupSmartTemplateLayer *this, cocos2d::CCObject *a2)
{
LevelBrowserLayer *v2; // r0
GJSearchObject *v3; // r1
cocos2d::CCScene **v4; // r0
SetupSmartTemplateLayer::onClose(this, a2);
v2 = (LevelBrowserLayer *)GJSearchObject::create(101);
*((_BYTE *)v2 + 342) = 1;
v4 = (cocos2d::CCScene **)LevelBrowserLayer::create(v2, v3);
return LevelBrowserLayer::show(v4);
}