//
// cocos2d::extension::CCTableView::cellAtIndex from 0x180014db0 to 0x180014e1e (110 bytes)
//
// 2 xrefs:
// > ??> @ 0x180032408
// > ??> @ 0x18004c674
//
// 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 12:15:41 +0000
//
struct cocos2d::extension::CCTableViewCell *__fastcall cocos2d::extension::CCTableView::cellAtIndex(
cocos2d::extension::CCTableView *this,
unsigned int a2)
{
__int64 *v2; // rax
__int64 *v3; // r9
__int64 *i; // r8
struct cocos2d::extension::CCSortableObject *v5; // rax
v2 = **((__int64 ***)this + 74);
v3 = v2;
for ( i = (__int64 *)v2[1]; !*((_BYTE *)i + 25); i = (__int64 *)*i )
{
if ( *((_DWORD *)i + 7) >= a2 )
v3 = i;
else
i += 2;
}
if ( *((_BYTE *)v3 + 25) )
return nullptr;
if ( a2 < *((_DWORD *)v3 + 7) )
return nullptr;
if ( v3 == v2 )
return nullptr;
v5 = cocos2d::extension::CCArrayForObjectSorting::objectWithObjectID(
*((cocos2d::extension::CCArrayForObjectSorting **)this + 78),
a2);
if ( !v5 )
return nullptr;
else
return (struct cocos2d::extension::CCSortableObject *)((char *)v5 - 320);
}