//
// GJRateLevelLayer::rateInfoFinished from 0x10024793c to 0x1002479d4 (152 bytes)
//
// 2 xrefs:
// > sub_1002479F0 @ 0x1002479f4
// > ??> @ 0x100908318
//
// 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:27 +0000
//
void __fastcall GJRateLevelLayer::rateInfoFinished(__int64 a1, int a2, __int64 a3)
{
void *__p[2]; // [xsp+0h] [xbp-30h] BYREF
__int64 v6; // [xsp+10h] [xbp-20h]
if ( *(_DWORD *)(*(_QWORD *)(a1 + 1048) + 328LL) - *(_DWORD *)(*(_QWORD *)(a1 + 1048) + 332LL) == a2 )
{
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 1120) + 344LL))(*(_QWORD *)(a1 + 1120), 0);
if ( *(char *)(a3 + 23) < 0 )
{
sub_1000097D0(__p, *(void **)a3, *(_QWORD *)(a3 + 8));
}
else
{
*(_OWORD *)__p = *(_OWORD *)a3;
v6 = *(_QWORD *)(a3 + 16);
}
sub_100246A8C(a1, (__int64)__p);
if ( SHIBYTE(v6) < 0 )
operator delete(__p[0]);
}
}