//
// cocos2d::CCMenu::alignItemsInColumns from 0x7dc794 to 0x7dc7e0 (76 bytes)
//
// 1 xrefs:
// > cocos2d::CCMenu::alignItemsInColumns @ 0x7dc7fa
//
// 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:00:45 +0000
//
char **__fastcall cocos2d::CCMenu::alignItemsInColumns(cocos2d::CCMenu *this, unsigned int a2, char *a3)
{
char *v5; // r4
cocos2d::CCArray *v6; // r7
cocos2d::CCObject *v7; // r5
unsigned int v8; // t1
v5 = a3 - 4;
v6 = cocos2d::CCArray::create(this);
while ( a2 )
{
v7 = (cocos2d::CCObject *)operator new(0x38u);
cocos2d::CCObject::CCObject(v7);
*((_DWORD *)v7 + 13) = a2;
*(_DWORD *)v7 = &off_C8DBE0;
cocos2d::CCObject::autorelease(v7);
cocos2d::CCArray::addObject(v6, v7);
v8 = *((_DWORD *)v5 + 1);
v5 += 4;
a2 = v8;
}
return cocos2d::CCMenu::alignItemsInColumnsWithArray(this, v6);
}