//
// cocos2d::CCSpriteBatchNode::lowestAtlasIndexInChild from 0x7f27ac to 0x7f27d6 (42 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:01:05 +0000
//
int __fastcall cocos2d::CCSpriteBatchNode::lowestAtlasIndexInChild(
cocos2d::CCSpriteBatchNode *this,
cocos2d::CCSprite *a2)
{
cocos2d::CCArray *v3; // r0
cocos2d::CCArray *v4; // r5
while ( 1 )
{
v3 = (cocos2d::CCArray *)(*(int (__fastcall **)(cocos2d::CCSprite *))(*(_DWORD *)a2 + 244))(a2);
v4 = v3;
if ( !v3 || !cocos2d::CCArray::count(v3) )
break;
a2 = (cocos2d::CCSprite *)cocos2d::CCArray::objectAtIndex(v4, 0);
}
return *((_DWORD *)a2 + 72);
}