//
// cocos2d::CCSpriteBatchNode::lowestAtlasIndexInChild from 0xb1797c to 0xb179d0 (84 bytes)
//
// 1 xrefs:
// > ??> @ 0xb0fe8
//
// 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; // x0
cocos2d::CCArray *v4; // x20
while ( 1 )
{
v3 = a2->getChildren(a2);
v4 = v3;
if ( !v3 || !(unsigned int)cocos2d::CCArray::count(v3) )
break;
a2 = (cocos2d::CCSprite *)cocos2d::CCArray::objectAtIndex(v4, 0);
}
return a2->m_uAtlasIndex;
}