//
// cocos2d::CCSpriteBatchNode::lowestAtlasIndexInChild from 0x180091de0 to 0x180091e3f (95 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c0300
//
// This function is hookable on this platform (idp: pc, 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 11:22:08 +0000
//
__int64 __fastcall cocos2d::CCSpriteBatchNode::lowestAtlasIndexInChild(
cocos2d::CCSpriteBatchNode *this,
struct cocos2d::CCSprite *a2)
{
struct cocos2d::CCString *v2; // rbx
cocos2d::CCArray *i; // rdi
v2 = a2;
for ( i = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)a2 + 480LL))(a2);
i;
i = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(struct cocos2d::CCString *))(*(_QWORD *)v2 + 480LL))(v2) )
{
if ( !(unsigned int)cocos2d::CCArray::count(i) )
break;
v2 = cocos2d::CCArray::stringAtIndex(i, 0);
}
return *((unsigned int *)v2 + 90);
}