//
// PauseLayer::onCreateStartpos from 0x1003c1d30 to 0x1003c1e2a (250 bytes)
//
// 1 xrefs:
// > PauseLayer::customSetup @ 0x1003c0c58
//
// 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:29:33 +0000
//
__int64 __fastcall PauseLayer::onCreateStartpos(__int64 a1)
{
_QWORD *v1; // rbx
v1 = operator new(0x400u);
SetupTriggerPopup::SetupTriggerPopup((__int64)v1);
*v1 = off_100B39638;
v1[40] = off_100B39C28;
v1[41] = &off_100B39C98;
v1[42] = off_100B39CB0;
v1[43] = off_100B39CD0;
v1[44] = off_100B39CF8;
v1[51] = off_100B39D28;
v1[54] = off_100B39DA8;
v1[68] = off_100B39DC8;
v1[83] = &off_100B39E10;
v1[84] = off_100B39E28;
v1[127] = 0;
if ( !(unsigned __int8)CreateStartPosPopup::init(v1) )
sub_1009A64E0(v1);
cocos2d::CCObject::autorelease(v1);
v1[127] = a1 + 568;
return (*(__int64 (__fastcall **)(_QWORD *))(*v1 + 1312LL))(v1);
}