// // GJOptionsLayer::objectsForPage from 0x5d6c54 to 0x5d6cf6 (162 bytes) // // 3 xrefs: // > GJOptionsLayer::addToggleInternal @ 0x5e1722 // > EditorOptionsLayer::setupOptions @ 0x5e1b28 // > GameOptionsLayer::setupOptions @ 0x5e23f2 // // 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:54:09 +0000 // cocos2d::CCObject *__fastcall GJOptionsLayer::objectsForPage(GJOptionsLayer *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 + 185); v15 = 0; v16 = 0; v17 = 0; v5 = (const char *)GJOptionsLayer::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 + 185); v7 = v9; v11 = (const char *)GJOptionsLayer::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; }
GD Web Decomp Icon

GD Web Decomp

Raw Source