//
// sub_1001E31B4 from 0x1001e31b4 to 0x1001e3278 (196 bytes)
//
// 2 xrefs:
// > sub_1001DDB20 @ 0x1001ddb9c
// > sub_1001E2AB4 @ 0x1001e2b30
//
// 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:00:31 +0000
//
void __usercall sub_1001E31B4(int *a1@, _QWORD *a2@)
{
int v4; // w21
int v5; // w22
int v6; // w25
void **v7; // x26
void **v8; // x8
void **v9; // x9
__int64 v10; // x0
char *CString; // x0
void *__p[2]; // [xsp+20h] [xbp-70h] BYREF
char v13; // [xsp+37h] [xbp-59h]
void *v14[2]; // [xsp+38h] [xbp-58h] BYREF
char v15; // [xsp+4Fh] [xbp-41h]
v4 = *a1;
v5 = a1[1];
sub_1001E4CFC(v14, a1 + 2);
v6 = v15;
v7 = (void **)v14[0];
sub_1001E4CFC(__p, a1 + 8);
if ( v6 >= 0 )
v8 = v14;
else
v8 = v7;
if ( v13 >= 0 )
v9 = __p;
else
v9 = (void **)__p[0];
v10 = sub_1003065B0("%i,%i,%s,%s", v4, v5, (const char *)v8, (const char *)v9);
CString = (char *)cocos2d::CCString::getCString(v10);
sub_100009900(a2, CString);
if ( v13 < 0 )
operator delete(__p[0]);
if ( v15 < 0 )
operator delete(v14[0]);
}