//
// sub_1005BC2D0 from 0x1005bc2d0 to 0x1005bc3c9 (249 bytes)
//
// 2 xrefs:
// > EditorPauseLayer::onAutoSaveSettings @ 0x10027e824
// > sub_10097DCA0 @ 0x10097dca9
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 12:32:44 +0000
//
char *sub_1005BC2D0()
{
char *v0; // rbx
v0 = (char *)operator new(0x428u);
SetupTriggerPopup::SetupTriggerPopup((__int64)v0);
*(_QWORD *)v0 = off_100B7DFC8;
*((_QWORD *)v0 + 40) = off_100B7E5B8;
*((_QWORD *)v0 + 41) = &off_100B7E628;
*((_QWORD *)v0 + 42) = off_100B7E640;
*((_QWORD *)v0 + 43) = off_100B7E660;
*((_QWORD *)v0 + 44) = off_100B7E688;
*((_QWORD *)v0 + 51) = off_100B7E6B8;
*((_QWORD *)v0 + 54) = off_100B7E738;
*((_QWORD *)v0 + 68) = off_100B7E758;
*((_QWORD *)v0 + 83) = &off_100B7E7A0;
*((_QWORD *)v0 + 84) = off_100B7E7B8;
*((_QWORD *)v0 + 132) = 0;
*(_OWORD *)(v0 + 1016) = 0;
*((_WORD *)v0 + 516) = 0;
if ( (unsigned __int8)AutoSaveSettingsLayer::init(v0) )
{
cocos2d::CCObject::autorelease((__int64)v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return v0;
}