//
// MoreOptionsLayer::objectsForPage from 0x52de58 to 0x52defa (162 bytes)
//
// 3 xrefs:
// > MoreOptionsLayer::addToggle @ 0x52e124
// > MoreOptionsLayer::init @ 0x5332f0
// > MoreOptionsLayer::init @ 0x533454
//
// 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:52:02 +0000
//
cocos2d::CCObject *__fastcall MoreOptionsLayer::objectsForPage(MoreOptionsLayer *this, const char *a2)
{
int v3; // r5
const char *v5; // r8
size_t v6; // r0
cocos2d::CCObject *v7; // r5
cocos2d::CCArray *v8; // r0
cocos2d::CCObject *v9; // r0
int v10; // r8
const char *v11; // r0
const char *v12; // r7
size_t v13; // r0
int v15; // [sp+0h] [bp-14h] BYREF
int v16; // [sp+4h] [bp-10h]
int v17; // [sp+8h] [bp-Ch]
v3 = *((_DWORD *)this + 135);
v15 = 0;
v16 = 0;
v17 = 0;
v5 = (const char *)MoreOptionsLayer::objectKey(this, a2);
v6 = strlen(v5);
std::string::__init(&v15, v5, v6);
v7 = (cocos2d::CCObject *)cocos2d::CCDictionary::objectForKey(v3, &v15);
v8 = (cocos2d::CCArray *)std::string::~string((int)&v15);
if ( !v7 )
{
v9 = (cocos2d::CCObject *)cocos2d::CCArray::create(v8);
v10 = *((_DWORD *)this + 135);
v7 = v9;
v11 = (const char *)MoreOptionsLayer::objectKey(this, a2);
v15 = 0;
v16 = 0;
v17 = 0;
v12 = v11;
v13 = strlen(v11);
std::string::__init(&v15, v12, v13);
cocos2d::CCDictionary::setObject(v10, v7);
std::string::~string((int)&v15);
}
return v7;
}