//
// cocos2d::CCDirector::popToSceneInStack from 0xad7110 to 0xad714c (60 bytes)
//
// 4 xrefs:
// > GJScoreCell::onViewProfile @ 0x60c00c
// > ProfilePage::onMyLevels @ 0x8f8d40
// > ProfilePage::onMyLists @ 0x8f8f0c
// > ??> @ 0x39768
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void cocos2d::CCDirector::popToSceneInStack(cocos2d::CCDirector *a1, cocos2d::CCScene *a2)
{
int v3; // w1
v3 = cocos2d::CCDirector::levelForSceneInStack(a1, a2);
if ( v3 > 0 )
cocos2d::CCDirector::popToSceneStackLevel(a1, v3);
}