//
// cocos2d::extension::CCTableView::initWithViewSize from 0x100419020 to 0x1004190fb (219 bytes)
//
// 1 xrefs:
// > cocos2d::extension::CCTableView::create @ 0x100418f26
//
// 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:30:12 +0000
//
__int64 __fastcall cocos2d::extension::CCTableView::initWithViewSize(__int64 a1, _QWORD *a2, __int64 a3)
{
__int64 result; // rax
unsigned int v5; // r15d
_QWORD *v6; // r14
_QWORD *v7; // r14
char *v8; // rax
_QWORD v9[5]; // [rsp+8h] [rbp-28h] BYREF
sub_100278630(v9, a2);
result = cocos2d::extension::CCScrollView::initWithViewSize(a1, v9, a3);
if ( (_BYTE)result )
{
v5 = result;
v6 = operator new(0x40u);
sub_1007FE720(v6);
*v6 = off_100B3F880;
*(_QWORD *)(a1 + 624) = v6;
v7 = operator new(0x40u);
sub_1007FE720(v7);
*v7 = off_100B3F880;
*(_QWORD *)(a1 + 632) = v7;
v8 = (char *)operator new(0x18u);
*(_OWORD *)(v8 + 8) = 0;
*(_QWORD *)v8 = v8 + 8;
*(_QWORD *)(a1 + 592) = v8;
*(_DWORD *)(a1 + 584) = 1;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1152LL))(a1, 1);
*(_QWORD *)(a1 + 416) = a1 + 568;
return v5;
}
return result;
}