//
// sub_1002262D8 from 0x1002262d8 to 0x100226424 (332 bytes)
//
// 2 xrefs:
// > SupportLayer::FLAlert_Clicked @ 0x100226470
// > sub_100226478 @ 0x10022647c
//
// 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:01:10 +0000
//
void __fastcall sub_1002262D8(__int64 a1)
{
char *v1; // x0
void **v2; // x19
char *v3; // x0
int v4; // w21
void **v5; // x20
__int64 v6; // x0
void **v7; // x8
__int64 v8; // x0
char *CString; // x0
void **v10; // x1
void *__p[2]; // [xsp+30h] [xbp-70h] BYREF
__int64 v12; // [xsp+40h] [xbp-60h]
void *__dst[2]; // [xsp+50h] [xbp-50h] BYREF
__int64 v14; // [xsp+60h] [xbp-40h]
void *v15[2]; // [xsp+68h] [xbp-38h] BYREF
char v16; // [xsp+7Fh] [xbp-21h]
v1 = (char *)GameManager::sharedState(a1);
if ( v1[631] < 0 )
{
v1 = (char *)sub_1000097D0(__dst, *((void **)v1 + 76), *((_QWORD *)v1 + 77));
}
else
{
*(_OWORD *)__dst = *((_OWORD *)v1 + 38);
v14 = *((_QWORD *)v1 + 78);
}
if ( v14 >= 0 )
v2 = __dst;
else
v2 = (void **)__dst[0];
v3 = (char *)GJAccountManager::sharedState(v1);
if ( v3[351] < 0 )
{
v3 = (char *)sub_1000097D0(__p, *((void **)v3 + 41), *((_QWORD *)v3 + 42));
}
else
{
*(_OWORD *)__p = *(_OWORD *)(v3 + 328);
v12 = *((_QWORD *)v3 + 43);
}
v4 = SHIBYTE(v12);
v5 = (void **)__p[0];
v6 = AppDelegate::get(v3);
v7 = __p;
if ( v4 < 0 )
v7 = v5;
v8 = sub_1003065B0(
"\n\nGame: %s\n\nUserID: %s\n\nAccount: %s\n\nPlatform: %i\n\nVersion: %i - %i",
"Geometry Dash",
(const char *)v2,
(const char *)v7,
*(unsigned __int8 *)(v6 + 34),
22,
51);
CString = (char *)cocos2d::CCString::getCString(v8);
sub_100009900(v15, CString);
if ( SHIBYTE(v12) < 0 )
operator delete(__p[0]);
if ( SHIBYTE(v14) < 0 )
operator delete(__dst[0]);
if ( v16 >= 0 )
v10 = v15;
else
v10 = (void **)v15[0];
sub_1001F927C((__int64)"Geometry Dash Support", (__int64)v10, (__int64)"
[email protected]");
if ( v16 < 0 )
operator delete(v15[0]);
}