//
// cocos2d::CCSpriteBatchNode::lowestAtlasIndexInChild from 0x18008ebb0 to 0x18008ec0f (95 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b6048
//
// 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
//
__int64 __fastcall cocos2d::CCSpriteBatchNode::lowestAtlasIndexInChild(
cocos2d::CCSpriteBatchNode *this,
struct cocos2d::CCString *a2)
{
struct cocos2d::CCString *v2; // rbx
cocos2d::CCArray *i; // rdi
v2 = a2;
for ( i = (cocos2d::CCArray *)((__int64 (__fastcall *)(struct cocos2d::CCString *))a2->__vftable[6].update)(a2);
i;
i = (cocos2d::CCArray *)((__int64 (__fastcall *)(struct cocos2d::CCString *))v2->__vftable[6].update)(v2) )
{
if ( !(unsigned int)cocos2d::CCArray::count(i) )
break;
v2 = cocos2d::CCArray::stringAtIndex(i, 0);
}
return v2[4].m_uID;
}