//
// cocos2d::extension::CCTableView::_offsetFromIndex from 0xd19228 to 0xd192dc (180 bytes)
//
// 2 xrefs:
// > cocos2d::extension::CCTableView::_setIndexForCell @ 0xd19500
// > ??> @ 0xece48
//
// 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 13:07:07 +0000
//
float *__usercall cocos2d::extension::CCTableView::_offsetFromIndex@(
cocos2d::extension::CCTableView *this@,
unsigned int a2@,
float *a3@)
{
__int64 Container; // x0
__int64 v6; // x0
__int64 v8; // [xsp+38h] [xbp+38h]
__int64 v9; // [xsp+40h] [xbp+40h] BYREF
v8 = a2;
cocos2d::extension::CCTableView::__offsetFromIndex(this, a2, (cocos2d::CCPoint *)a3);
(*(void (__fastcall **)(__int64 *__return_ptr, _QWORD, cocos2d::extension::CCTableView *, __int64))(**((_QWORD **)this + 80) + 16LL))(
&v9,
*((_QWORD *)this + 80),
this,
v8);
if ( !*((_DWORD *)this + 146) )
{
Container = cocos2d::extension::CCScrollView::getContainer(this);
v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)Container + 328LL))(Container);
a3[1] = (float)(*(float *)(v6 + 4) - a3[1]) - *((float *)&v9 + 1);
}
return a3;
}