//
// sub_100378A5C from 0x100378a5c to 0x100378ad8 (124 bytes)
//
// 1 xrefs:
// > sub_100378260 @ 0x100378724
//
// 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:03:26 +0000
//
__int64 __fastcall sub_100378A5C(__int64 a1)
{
__int64 v2; // x0
__int64 result; // x0
char *v4; // x0
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+1Fh] [xbp-11h]
v2 = GameLevelManager::sharedState();
result = sub_1000CA338(v2, *(_DWORD *)(*(_QWORD *)(a1 + 696) + 320LL), *(_DWORD *)(*(_QWORD *)(a1 + 696) + 316LL));
if ( (_DWORD)result )
{
sub_100009900(__p, "Accepting Friend Request...");
v4 = UploadActionPopup::create(a1 + 672, (__int64)__p);
*(_QWORD *)(a1 + 720) = v4;
if ( v6 < 0 )
{
operator delete(__p[0]);
v4 = *(char **)(a1 + 720);
}
return (*(__int64 (__fastcall **)(char *))(*(_QWORD *)v4 + 1312LL))(v4);
}
return result;
}