//
// cocos2d::CCSpriteBatchNode::lowestAtlasIndexInChild from 0x100177a10 to 0x100177a68 (88 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 __fastcall cocos2d::CCSpriteBatchNode::lowestAtlasIndexInChild(
cocos2d::CCSpriteBatchNode *a1,
cocos2d::CCSprite *a2)
{
cocos2d::CCSprite *v2; // rbx
__int64 i; // rax
__int64 v4; // r14
v2 = a2;
for ( i = ((__int64 (__fastcall *)(cocos2d::CCSprite *))a2->getChildren)(a2);
i;
i = ((__int64 (__fastcall *)(cocos2d::CCSprite *))v2->getChildren)(v2) )
{
v4 = i;
if ( !(unsigned int)sub_100720070(i) )
break;
v2 = (cocos2d::CCSprite *)sub_1007200C0(v4, 0);
}
return v2->m_uAtlasIndex;
}