//
// BoomListView::loadCell from 0x688f0c to 0x689000 (244 bytes)
//
// 3 xrefs:
// > CustomListView::loadCell @ 0x74d0c0
// > ??> @ 0x7fe40
// > ??> @ 0x1411d30
//
// This function is hookable on this platform (idp: arm, 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:50:32 +0000
//
__int64 __fastcall BoomListView::loadCell(BoomListView *this, TableViewCell *a2, unsigned int a3)
{
bool v4; // zf
cocos2d::CCArray *v5; // x0
cocos2d::CCObject *v6; // x0
cocos2d::CCString *v8; // x0
const char *CString; // x0
size_t v10; // x0
char *v11; // [xsp+38h] [xbp+38h]
__int64 v12[2]; // [xsp+40h] [xbp+40h] BYREF
void *v13; // [xsp+50h] [xbp+50h]
v4 = *((_DWORD *)this + 110) == 10;
v5 = *((cocos2d::CCArray **)this + 54);
if ( v4 )
{
v8 = (cocos2d::CCString *)cocos2d::CCArray::objectAtIndex(v5, a3);
CString = (const char *)cocos2d::CCString::getCString(v8);
v12[0] = 0;
v11 = (char *)CString;
v12[1] = 0;
v13 = nullptr;
v10 = strlen(CString);
std::string::__init(v12, v11, v10);
GameCell::loadFromString((__int64)a2, (__int64)v12);
if ( (v12[0] & 1) != 0 )
operator delete(v13);
}
else
{
v6 = (cocos2d::CCObject *)cocos2d::CCArray::objectAtIndex(v5, a3);
ListCell::loadFromObject(a2, v6);
}
return _stack_chk_guard;
}