//
// GJGameLevel::getLastBuildPageForTab from 0x3c55d4 to 0x3c562c (88 bytes)
//
// 1 xrefs:
// > EditorUI::setupCreateMenu @ 0x39be34
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int GJGameLevel::getLastBuildPageForTab(GJGameLevel *a1, int a2)
{
cocos2d::CCDictionary *m_lastBuildSave; // r6
cocos2d::CCString *v3; // r0
char *CString; // r0
cocos2d::CCString *v5; // r0
int v6; // r6
std::string v8; // [sp+8h] [bp-8h] BYREF
m_lastBuildSave = a1->m_lastBuildSave;
v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)a2);
CString = (char *)cocos2d::CCString::getCString(v3);
sub_776584((int)&v8, CString);
v5 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(m_lastBuildSave, &v8);
v6 = cocos2d::CCString::intValue(v5);
sub_774008(&v8);
return v6;
}