//
// GJRateLevelLayer::rateInfoFinished from 0x56864c to 0x5686b4 (104 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'GJRateLevelLayer::rateInfoFinished @ 0x5686bc
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:52:29 +0000
//
int __fastcall GJRateLevelLayer::rateInfoFinished(int a1, int a2, int a3)
{
int result; // r0
int v6[3]; // [sp+0h] [bp-14h] BYREF
result = *(_DWORD *)(*(_DWORD *)(a1 + 728) + 268) - *(_DWORD *)(*(_DWORD *)(a1 + 728) + 272);
if ( result == a2 )
{
(*(void (__fastcall **)(_DWORD, _DWORD))(**(_DWORD **)(a1 + 768) + 172))(*(_DWORD *)(a1 + 768), 0);
std::string::basic_string(v6, a3);
GJRateLevelLayer::setupRateInfo(a1, (cocos2d::CCArray *)v6);
return std::string::~string((int)v6);
}
return result;
}