//
// sub_1009637F0 from 0x1009637f0 to 0x10096383e (78 bytes)
//
// 1 xrefs:
// > RateStarsModLayer::init @ 0x100962b6b
//
// 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:46 +0000
//
__int64 __fastcall sub_1009637F0(__int64 a1)
{
char v1; // al
__int64 v2; // rdi
_WORD v4[2]; // [rsp+Ch] [rbp-4h] BYREF
v1 = *(_BYTE *)(a1 + 720);
*(_BYTE *)(a1 + 720) = v1 ^ 1;
v2 = *(_QWORD *)(a1 + 728);
if ( v1 )
{
memset(v4, 50, 3);
}
else
{
LOBYTE(v4[1]) = -1;
v4[0] = -1;
}
return (*(__int64 (__fastcall **)(__int64, _WORD *))(*(_QWORD *)v2 + 960LL))(v2, v4);
}