//
// GJGameLevel::setLastBuildPageForTab from 0x4af8f8 to 0x4af96a (114 bytes)
//
// 1 xrefs:
// > EditorUI::onPause @ 0x48a18a
//
// 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:01 +0000
//
int __fastcall GJGameLevel::setLastBuildPageForTab(GJGameLevel *this, const char *a2, const char *a3, int a4)
{
int v5; // r7
cocos2d::CCObject *v6; // r6
cocos2d::CCString *v7; // r0
const char *CString; // r8
size_t v9; // r0
GJGameLevel *v11; // [sp+0h] [bp-10h] BYREF
const char *v12; // [sp+4h] [bp-Ch]
const char *v13; // [sp+8h] [bp-8h]
int v14; // [sp+Ch] [bp-4h]
v11 = this;
v12 = a2;
v13 = a3;
v14 = a4;
v5 = *((_DWORD *)this + 66);
v6 = (cocos2d::CCObject *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", a2);
v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", a3);
v11 = nullptr;
v12 = nullptr;
v13 = nullptr;
CString = (const char *)cocos2d::CCString::getCString(v7);
v9 = strlen(CString);
std::string::__init((int *)&v11, CString, v9);
cocos2d::CCDictionary::setObject(v5, v6);
return std::string::~string((int)&v11);
}