//
// sub_10048B258 from 0x10048b258 to 0x10048b3e4 (396 bytes)
//
// 1 xrefs:
// > sub_10048B17C @ 0x10048b208
//
// This function is hookable on this platform (idp: arm, 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 11:05:51 +0000
//
__int64 __fastcall sub_10048B258(_BYTE *a1, __int64 a2, __int64 a3)
{
__int64 v4; // x20
__int64 v5; // x0
__int64 v7; // [xsp+0h] [xbp-A0h] BYREF
void *v8[2]; // [xsp+8h] [xbp-98h] BYREF
char v9; // [xsp+1Fh] [xbp-81h]
double v10; // [xsp+20h] [xbp-80h] BYREF
__int64 v11; // [xsp+28h] [xbp-78h] BYREF
void *__p[2]; // [xsp+30h] [xbp-70h] BYREF
char v13; // [xsp+47h] [xbp-59h]
void *v14[2]; // [xsp+48h] [xbp-58h] BYREF
char v15; // [xsp+5Fh] [xbp-41h]
void *v16[2]; // [xsp+60h] [xbp-40h] BYREF
char v17; // [xsp+77h] [xbp-29h]
void *v18[2]; // [xsp+78h] [xbp-28h] BYREF
char v19; // [xsp+8Fh] [xbp-11h]
v4 = SetupTriggerPopup::init((__int64)a1, a2, a3, 1, 200.0, 120.0, 0.0);
if ( (_DWORD)v4 )
{
SetupTriggerPopup::preSetup(a1);
sub_100009900(v18, "Setup");
sub_1001ACA6C((__int64)a1, (__int64 *)v18);
if ( v19 < 0 )
operator delete(v18[0]);
sub_100009900(v16, "OK");
sub_1001ACB3C((__int64)a1, (__int64)v16);
if ( v17 < 0 )
operator delete(v16[0]);
sub_100009900(v14, "Help");
sub_100009900(__p, "Allow Multi makes it so the object can be activated several times.");
sub_1001ACBB8((__int64)a1, (__int64)v14, (__int64)__p, 1.0);
if ( v13 < 0 )
operator delete(__p[0]);
if ( v15 < 0 )
operator delete(v14[0]);
v5 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize(v5, &v11);
sub_1000262BC((float *)&v10, (float)(*(float *)&v11 * 0.5) + -30.0, (float)(*((float *)&v11 + 1) * 0.5) + 10.0);
sub_100009900(v8, "Allow Multi");
sub_1000262F4(&v7, &v10);
SetupTriggerPopup::createToggleValueControl((__int64)a1, 87, (__int64)v8, (double *)&v7, 0, 0, 0, 1.0);
if ( v9 < 0 )
operator delete(v8[0]);
SetupTriggerPopup::postSetup(a1);
}
return v4;
}