//
// TableView::scrollWheel from 0x140088aa0 to 0x140088b4f (175 bytes)
//
// 2 xrefs:
// > ??> @ 0x140714598
// > ??> @ 0x14091265c
//
// 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 11:25:58 +0000
//
// Hidden C++ exception states: #wind=1
char __fastcall TableView::scrollWheel(__int64 a1, float a2)
{
__int64 v3; // rbx
__int64 v4; // rax
void *v5; // [rsp+58h] [rbp+20h]
if ( a2 == 0.0 )
return 0;
v3 = a1 - 352;
v4 = qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v5 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager(v5);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v4 = qword_14090BFD0;
}
*(float *)(v3 + 512) = (float)(a2 * *(float *)(v4 + 1140)) + *(float *)(v3 + 512);
if ( !*(_BYTE *)(v3 + 516) )
{
cocos2d::CCNode::schedule(v3, CCScrollLayerExt::updateScrollDecay);
*(_BYTE *)(v3 + 516) = 1;
}
return 1;
}