//
// sub_100267B24 from 0x100267b24 to 0x100267c00 (220 bytes)
//
// 1 xrefs:
// > GJMultiplayerManager::uploadComment @ 0x100267970
//
// 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:42 +0000
//
void __fastcall sub_100267B24(__int64 a1, __int64 a2, int a3)
{
const char *v4; // x21
__int64 v6; // x0
__int64 v7; // x0
char *CString; // x0
__int64 v9; // x0
void *__p[2]; // [xsp+10h] [xbp-50h] BYREF
__int64 v11; // [xsp+20h] [xbp-40h]
void *v12[2]; // [xsp+28h] [xbp-38h] BYREF
__int64 v13; // [xsp+38h] [xbp-28h]
v4 = (const char *)a2;
if ( *(char *)(a2 + 23) < 0 )
v4 = *(const char **)a2;
v6 = GJAccountManager::sharedState(a1);
v7 = sub_1003065B0("2~%s~8~%i~9~7 minutes~6~-1", v4, *(_DWORD *)(v6 + 352) - *(_DWORD *)(v6 + 356));
CString = (char *)cocos2d::CCString::getCString(v7);
sub_100009900(v12, CString);
if ( SHIBYTE(v13) < 0 )
{
sub_1000097D0(__p, v12[0], (unsigned __int64)v12[1]);
}
else
{
*(_OWORD *)__p = *(_OWORD *)v12;
v11 = v13;
}
sub_100267408(a1, (__int64)__p, a3);
if ( SHIBYTE(v11) < 0 )
operator delete(__p[0]);
v9 = *(_QWORD *)(a1 + 352);
if ( v9 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v9 + 24LL))(v9);
if ( SHIBYTE(v13) < 0 )
operator delete(v12[0]);
}