//
// cocos2d::CCSpriteBatchNode::lowestAtlasIndexInChild from 0x5e7f08 to 0x5e7f32 (42 bytes)
//
// 0 xrefs:
//
// 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
//
unsigned int cocos2d::CCSpriteBatchNode::lowestAtlasIndexInChild(cocos2d::CCSpriteBatchNode *a1, cocos2d::CCSprite *a2)
{
cocos2d::CCArray *v3; // r0
cocos2d::CCArray *v4; // r5
while ( 1 )
{
v3 = a2->getChildren(a2);
v4 = v3;
if ( !v3 || !cocos2d::CCArray::count(v3) )
break;
a2 = (cocos2d::CCSprite *)cocos2d::CCArray::objectAtIndex(v4, 0);
}
return a2->m_uAtlasIndex;
}