//
// GauntletSelectLayer::onRefresh from 0x60a1dc to 0x60a236 (90 bytes)
//
// 0 xrefs:
//
// 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:54:47 +0000
//
int __fastcall GauntletSelectLayer::onRefresh(GauntletSelectLayer *this, cocos2d::CCObject *a2)
{
int v3; // r0
GauntletSelectLayer *v4; // r0
char *v5; // r4
GameLevelManager *updated; // r0
cocos2d::CCDictionary **v7; // r0
GameLevelManager *v8; // r0
GameLevelManager *v9; // r0
GameLevelManager *v10; // r0
(*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 86) + 172))(*((_DWORD *)this + 86), 0);
v3 = *((_DWORD *)this + 83);
if ( v3 )
{
(*(void (__fastcall **)(int, int))(*(_DWORD *)v3 + 264))(v3, 1);
*((_DWORD *)this + 83) = 0;
}
v4 = this;
v5 = (char *)this + 320;
updated = (GameLevelManager *)GauntletSelectLayer::updateArrows(v4);
v7 = (cocos2d::CCDictionary **)GameLevelManager::sharedState(updated);
GameLevelManager::resetGauntlets(v7);
v8 = (GameLevelManager *)(*(int (__fastcall **)(_DWORD, int))(**((_DWORD **)v5 + 9) + 172))(*((_DWORD *)v5 + 9), 1);
v9 = (GameLevelManager *)GameLevelManager::sharedState(v8);
*((_DWORD *)v9 + 205) = v5;
v10 = (GameLevelManager *)GameLevelManager::sharedState(v9);
return GameLevelManager::getGauntlets(v10);
}