//
// GJRateLevelLayer::rateInfoFinished from 0x14041b780 to 0x14041b80a (138 bytes)
//
// 2 xrefs:
// > ??> @ 0x14078b620
// > ??> @ 0x1409266b4
//
// 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 11:32:06 +0000
//
// Hidden C++ exception states: #wind=1
void __fastcall GJRateLevelLayer::rateInfoFinished(__int64 a1, int a2, __int64 a3)
{
__int64 v4; // rdi
__int64 *v5; // rax
_BYTE v6[32]; // [rsp+28h] [rbp-40h] BYREF
__int64 v7; // [rsp+48h] [rbp-20h]
v7 = a3;
v4 = a1 - 1016;
if ( *(_DWORD *)(*(_QWORD *)(a1 - 1016 + 1032) + 328LL) - *(_DWORD *)(*(_QWORD *)(a1 - 1016 + 1032) + 332LL) == a2 )
{
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 88) + 336LL))(*(_QWORD *)(a1 + 88), 0);
v5 = (__int64 *)sub_14003F4F0((__int64)v6, a3);
GJRateLevelLayer::setupRateInfo(v4, v5);
}
sub_14003D310(a3);
}