//
// GJSearchObject::getPrevPageObject from 0x8189e0 to 0x8189fc (28 bytes)
//
// 2 xrefs:
// > LevelBrowserLayer::onPrevPage @ 0x7fba10
// > ??> @ 0xa13f8
//
// 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:54:56 +0000
//
__int64 __fastcall GJSearchObject::getPrevPageObject(GJSearchObject *this)
{
int v1; // w1
int v2; // w1
v1 = *((_DWORD *)this + 98);
if ( v1 <= 0 )
v2 = 0;
else
v2 = v1 - 1;
return GJSearchObject::getPageObject(this, v2);
}