//
// cocos2d::extension::CCTableView::cellAtIndex from 0x7afa18 to 0x7afa50 (56 bytes)
//
// 3 xrefs:
// > cocos2d::extension::CCTableView::removeCellAtIndex @ 0x7afdf6
// > cocos2d::extension::CCTableView::updateCellAtIndex @ 0x7aff3e
// > cocos2d::extension::CCTableView::ccTouchBegan @ 0x7b02fe
//
// 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:06 +0000
//
int __fastcall cocos2d::extension::CCTableView::cellAtIndex(cocos2d::extension::CCTableView *this, unsigned int a2)
{
int v3; // r0
int v5; // r0
unsigned int v6; // [sp+4h] [bp-4h] BYREF
v6 = a2;
v3 = *((_DWORD *)this + 115);
v6 = a2;
if ( (_DWORD *)(*((_DWORD *)this + 115) + 4) == std::__tree::find(v3, &v6) )
return 0;
v5 = cocos2d::extension::CCArrayForObjectSorting::objectWithObjectID(
*((cocos2d::extension::CCArrayForObjectSorting **)this + 119),
v6);
if ( !v5 )
return 0;
else
return v5 - 264;
}