//
// GJRateLevelLayer::rateInfoFinished from 0x4545bc to 0x454622 (102 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'GJRateLevelLayer::rateInfoFinished @ 0x45462c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int __fastcall GJRateLevelLayer::rateInfoFinished(int a1, int a2, int a3)
{
int result; // r0
_DWORD v5[3]; // [sp+0h] [bp-Ch] BYREF
v5[0] = a1;
v5[1] = a2;
v5[2] = a3;
result = *(_DWORD *)(*(_DWORD *)(a1 + 696) + 268) - *(_DWORD *)(*(_DWORD *)(a1 + 696) + 272);
if ( result == a2 )
{
(*(void (__fastcall **)(_DWORD, _DWORD))(**(_DWORD **)(a1 + 736) + 164))(*(_DWORD *)(a1 + 736), 0);
sub_775C20(v5);
GJRateLevelLayer::setupRateInfo(a1, (cocos2d::CCArray *)v5);
return sub_774008(v5);
}
return result;
}