//
// PauseLayer::getQueuedStartPos from 0x48ed3c to 0x48ed72 (54 bytes)
//
// 3 xrefs:
// > PauseLayer::onResume @ 0x48ed76
// > PauseLayer::onRestart @ 0x48ee68
// > PauseLayer::onRestartFull @ 0x48eeba
//
// 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:49:36 +0000
//
int __fastcall PauseLayer::getQueuedStartPos(cocos2d::CCArray **this)
{
int v2; // r5
cocos2d::CCArray *v3; // r0
if ( *((_BYTE *)this + 476)
&& (v2 = (int)*(this + 117), v2 > 0)
&& (v3 = *(this + 118)) != nullptr
&& (unsigned int)v2 <= cocos2d::CCArray::count(v3) )
{
return cocos2d::CCArray::objectAtIndex(*(this + 118), (unsigned int)*(this + 117) - 1);
}
else
{
return 0;
}
}