//
// sub_10018F2E0 from 0x10018f2e0 to 0x10018f384 (164 bytes)
//
// 5 xrefs:
// > sub_1001925B0 @ 0x100192714
// > sub_1001925B0 @ 0x10019272c
// > sub_1001925B0 @ 0x100192774
// > sub_1001925B0 @ 0x100192780
// > processFMODAudioState @ 0x10019edc4
//
// 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 10:59:54 +0000
//
__int64 *__fastcall sub_10018F2E0(__int64 a1, _QWORD *a2)
{
__int64 v3; // x0
char *CString; // x0
char *v5; // x1
size_t v6; // x2
__int64 v7; // x9
char *v8; // x1
size_t v9; // x2
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v12; // [xsp+1Fh] [xbp-11h]
v3 = sub_1003065B0("%llu", *a2);
CString = (char *)cocos2d::CCString::getCString(v3);
sub_100009900(__p, CString);
if ( v12 >= 0LL )
v5 = (char *)__p;
else
v5 = (char *)__p[0];
if ( v12 >= 0 )
v6 = v12;
else
v6 = (size_t)__p[1];
sub_10000CB50((__int64 *)a1, v5, v6);
if ( v12 < 0 )
operator delete(__p[0]);
v7 = *(char *)(a1 + 551);
if ( v7 >= 0 )
v8 = (char *)(a1 + 528);
else
v8 = *(char **)(a1 + 528);
if ( (int)v7 >= 0 )
v9 = *(char *)(a1 + 551);
else
v9 = *(_QWORD *)(a1 + 536);
return sub_10000CB50((__int64 *)a1, v8, v9);
}