//
// DeathStatsPopup::pollFetch from 0x76fed0 to 0x76ff50 (128 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:59:14 +0000
//
int __fastcall DeathStatsPopup::pollFetch(DeathStatsPopup *this, float a2)
{
GameLevelManager *v3; // r0
unsigned int v4; // r2
int result; // r0
*((float *)this + 184) = *((float *)this + 184) + a2;
v3 = (GameLevelManager *)GameLevelManager::sharedState(this);
result = GameLevelManager::isDeathDataFetched(v3, *((_DWORD *)this + 182), v4);
if ( result )
{
cocos2d::CCNode::unschedule(this, DeathStatsPopup::pollFetch, 0);
return DeathStatsPopup::showResult(this);
}
else if ( *((float *)this + 184) > 6.0 )
{
cocos2d::CCNode::unschedule(this, DeathStatsPopup::pollFetch, 0);
return DeathStatsPopup::setStatus(this, "Fetch failed.");
}
return result;
}