//
// GJSearchObject::getPageObject from 0x4b4cdc to 0x4b4de0 (260 bytes)
//
// 4 xrefs:
// > LevelBrowserLayer::onGoToLastPage @ 0x4a86a2
// > LevelBrowserLayer::setIDPopupClosed @ 0x4a876a
// > GJSearchObject::getNextPageObject @ 0x4b4dea
// > GJSearchObject::getPrevPageObject @ 0x4b4dfc
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:50:07 +0000
//
int __fastcall GJSearchObject::getPageObject(GJSearchObject *this, int a2)
{
int v3; // r9
int v5; // r9
int v7[3]; // [sp+48h] [bp-28h] BYREF
int v8[3]; // [sp+54h] [bp-1Ch] BYREF
int v9[3]; // [sp+60h] [bp-10h] BYREF
v3 = *((_DWORD *)this + 66);
std::string::basic_string(v7, (int)this + 268);
std::string::basic_string(v8, (int)this + 280);
std::string::basic_string(v9, (int)this + 292);
v5 = GJSearchObject::create(
v3,
(int)v7,
(int)v8,
(int)v9,
a2,
*((_BYTE *)this + 308),
*((_BYTE *)this + 316),
*((_BYTE *)this + 318),
*((_DWORD *)this + 84),
*((_BYTE *)this + 319),
*((_BYTE *)this + 320),
*((_BYTE *)this + 340),
*((_BYTE *)this + 341),
*((_BYTE *)this + 309),
*((_BYTE *)this + 321),
*((_BYTE *)this + 322),
*((_BYTE *)this + 323),
*((_BYTE *)this + 324),
*((_BYTE *)this + 317),
*((_DWORD *)this + 82),
*((_DWORD *)this + 83),
*((_DWORD *)this + 86));
std::string::~string((int)v9);
std::string::~string((int)v8);
std::string::~string((int)v7);
*(_DWORD *)(v5 + 312) = *((_DWORD *)this + 78);
return v5;
}