//
// UISaveLoadLayer::create from 0x5d938c to 0x5d942c (160 bytes)
//
// 1 xrefs:
// > UIOptionsLayer::onSaveLoad @ 0x5d9432
//
// 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:54:10 +0000
//
SetupTriggerPopup *__fastcall UISaveLoadLayer::create(UISaveLoadLayer *this, UIOptionsLayer *a2)
{
SetupTriggerPopup *v3; // r4
int v4; // r3
SetupTriggerPopup *v5; // r0
v3 = (SetupTriggerPopup *)operator new(0x2CCu);
SetupTriggerPopup::SetupTriggerPopup(v3);
*(_DWORD *)v3 = &off_CB60D0;
*((_DWORD *)v3 + 66) = &off_CB63C8;
*((_DWORD *)v3 + 67) = &off_CB6400;
*((_DWORD *)v3 + 68) = &off_CB640C;
*((_DWORD *)v3 + 69) = &off_CB641C;
*((_DWORD *)v3 + 70) = &off_CB6430;
*((_DWORD *)v3 + 79) = &off_CB6448;
*((_DWORD *)v3 + 83) = &off_CB6488;
*((_DWORD *)v3 + 110) = &off_CB6498;
*((_DWORD *)v3 + 130) = &off_CB64BC;
*((_DWORD *)v3 + 131) = &off_CB64C8;
*((_DWORD *)v3 + 178) = 0;
if ( UISaveLoadLayer::init((cocos2d::CCPoint **)v3, this) )
{
cocos2d::CCObject::autorelease(v3);
}
else
{
v4 = *(_DWORD *)v3;
v5 = v3;
v3 = nullptr;
(*(void (__fastcall **)(SetupTriggerPopup *))(v4 + 8))(v5);
}
return v3;
}