//
// cocos2d::CCSpriteBatchNode::lowestAtlasIndexInChild from 0xd88e5c to 0xd88eb0 (84 bytes)
//
// 1 xrefs:
// > ??> @ 0xe7910
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:08:14 +0000
//
__int64 __fastcall cocos2d::CCSpriteBatchNode::lowestAtlasIndexInChild(
cocos2d::CCSpriteBatchNode *this,
cocos2d::CCSprite *a2)
{
cocos2d::CCArray *v3; // x0
cocos2d::CCArray *v4; // x20
while ( 1 )
{
v3 = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(cocos2d::CCSprite *))(*(_QWORD *)a2 + 488LL))(a2);
v4 = v3;
if ( !v3 || !(unsigned int)cocos2d::CCArray::count(v3) )
break;
a2 = (cocos2d::CCSprite *)cocos2d::CCArray::objectAtIndex(v4, 0);
}
return *((unsigned int *)a2 + 90);
}