//
// sub_100963BD0 from 0x100963bd0 to 0x100963cab (219 bytes)
//
// 1 xrefs:
// > RateStarsModLayer::init @ 0x1009636d5
//
// This function is hookable on this platform (idp: pc, 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 12:38:47 +0000
//
char __fastcall sub_100963BD0(__int64 a1)
{
int v1; // eax
int v2; // r14d
__int64 v3; // rax
__int64 v4; // rax
char *v5; // rax
__int128 v7[2]; // [rsp+8h] [rbp-28h] BYREF
v1 = *(_DWORD *)(a1 + 716);
if ( v1 != -1 )
{
v2 = 0;
if ( v1 == 10 )
v2 = *(_DWORD *)(a1 + 756);
v3 = GameLevelManager::sharedState();
LOBYTE(v1) = sub_100562960(
v3,
*(_DWORD *)(a1 + 712),
*(_DWORD *)(a1 + 716),
*(_DWORD *)(a1 + 752),
*(unsigned __int8 *)(a1 + 720),
v2);
if ( (_BYTE)v1 )
{
*(_QWORD *)(GameLevelManager::sharedState() + 1360) = a1 + 672;
v4 = *(_QWORD *)(a1 + 736);
if ( v4 )
*(_QWORD *)(v4 + 664) = 0;
strcpy((char *)v7, "\"Sending rating...");
v5 = UploadActionPopup::create(a1 + 664, v7);
*(_QWORD *)(a1 + 736) = v5;
if ( (v7[0] & 1) != 0 )
{
operator delete(*(void **)&v7[1]);
v5 = *(char **)(a1 + 736);
}
LOBYTE(v1) = (*(__int64 (__fastcall **)(char *))(*(_QWORD *)v5 + 1312LL))(v5);
}
}
return v1;
}