//
// ListButtonBar::onLeft from 0x1003dd7c0 to 0x1003dd852 (146 bytes)
//
// 1 xrefs:
// > ListButtonBar::init @ 0x1003dd546
//
// 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:29:44 +0000
//
void __fastcall ListButtonBar::onLeft(__int64 a1)
{
__int64 v2; // rdi
int v3; // r15d
unsigned int v4; // r14d
__int64 v5; // rdi
void (__fastcall ***v6)(_QWORD, __int64, _QWORD); // rdi
v2 = *(_QWORD *)(a1 + 320);
v3 = *(_DWORD *)(v2 + 588);
v4 = v3 - 1;
BoomScrollLayer::getTotalPages(v2);
v5 = *(_QWORD *)(a1 + 320);
if ( *(_BYTE *)(a1 + 344) )
{
BoomScrollLayer::moveToPage(v5, v4);
v6 = *(void (__fastcall ****)(_QWORD, __int64, _QWORD))(a1 + 336);
if ( !v6 )
return;
goto LABEL_3;
}
BoomScrollLayer::instantMoveToPage(v5, v3 - 2);
BoomScrollLayer::instantMoveToPage(*(_QWORD *)(a1 + 320), v4);
v6 = *(void (__fastcall ****)(_QWORD, __int64, _QWORD))(a1 + 336);
if ( v6 )
LABEL_3:
(**v6)(v6, a1, v4);
}