//
// PauseLayer::getQueuedStartPos from 0x7d54f8 to 0x7d555c (100 bytes)
//
// 4 xrefs:
// > PauseLayer::onResume @ 0x7d556c
// > PauseLayer::onRestart @ 0x7d5748
// > PauseLayer::onRestartFull @ 0x7d57c8
// > ??> @ 0xfa510
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:54:20 +0000
//
__int64 __fastcall PauseLayer::getQueuedStartPos(cocos2d::CCArray **this)
{
int v1; // w20
if ( *((_BYTE *)this + 616)
&& (v1 = *((_DWORD *)this + 150), v1 > 0)
&& *(this + 76)
&& v1 <= (unsigned int)cocos2d::CCArray::count(*(this + 76)) )
{
return cocos2d::CCArray::objectAtIndex(*(this + 76), *((_DWORD *)this + 150) - 1);
}
else
{
return 0;
}
}