//
// sub_C630DC from 0xc630dc to 0xc631f8 (284 bytes)
//
// 2 xrefs:
// > InvitesPopup::buildRows @ 0xc82890
// > InvitesPopup::buildRows @ 0xc8290c
//
// 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 13:05:23 +0000
//
__int64 __fastcall sub_C630DC(_DWORD *a1, long double a2)
{
__int64 v3; // x19
__int64 (__fastcall *v4)(__int64, __int16 *); // x23
GameManager *v5; // x0
int v6; // w0
GameManager *v7; // x0
GameManager *v8; // x0
unsigned __int64 v9; // x0
int v10; // w1
__int16 v13; // [xsp+50h] [xbp+50h] BYREF
char v14; // [xsp+52h] [xbp+52h]
v3 = SimplePlayer::create((SimplePlayer *)((char *)&dword_0 + 1));
(*(void (__fastcall **)(__int64, long double))(*(_QWORD *)v3 + 160LL))(v3, a2);
v4 = *(__int64 (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v3 + 960LL);
v5 = (GameManager *)GameManager::sharedState(*(GameManager **)v3);
v6 = GameManager::colorForIdx(v5, a1[78]);
v13 = v6;
v14 = BYTE2(v6);
v7 = (GameManager *)v4(v3, &v13);
v8 = (GameManager *)GameManager::sharedState(v7);
v9 = GameManager::colorForIdx(v8, a1[79]);
v14 = BYTE2(v9);
v13 = v9;
SimplePlayer::setSecondColor((SimplePlayer *)v3);
SimplePlayer::tryEnableCustomGlowColor((SimplePlayer *)v3, a1[80]);
*(_BYTE *)(v3 + 660) = a1[82] == 2;
v10 = a1[77];
if ( v10 <= 0 )
v10 = 1;
SimplePlayer::updatePlayerFrame(v3, v10, a1[81]);
SimplePlayer::updateColors((SimplePlayer *)v3);
return v3;
}