// // ParentalOptionsLayer::onInfo from 0x8f2d10 to 0x8f2e58 (328 bytes) // // 4 xrefs: // > @ 0x9c0a0 // > ParentalOptionsLayer::addToggle @ 0x8f2890 // > ParentalOptionsLayer::addMasterToggle @ 0x8f6918 // > @ 0x15444d0 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 12:56:59 +0000 // __int64 __fastcall ParentalOptionsLayer::onInfo(ParentalOptionsLayer *this, cocos2d::CCObject *a2) { const char *v3; // x1 ParentalOptionsLayer *v4; // x0 __int64 v5; // x21 size_t v6; // x0 cocos2d::CCString *v7; // x0 char *CString; // x21 size_t v9; // x0 __int64 v10; // x20 char *v12; // [xsp+38h] [xbp+38h] __int64 v13; // [xsp+40h] [xbp+40h] BYREF __int64 v14; // [xsp+48h] [xbp+48h] void *v15; // [xsp+50h] [xbp+50h] v3 = (const char *)(*(unsigned int (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2); v4 = this; v5 = *((_QWORD *)this + 85); v13 = 0; v12 = (char *)ParentalOptionsLayer::infoKey(v4, v3); v14 = 0; v15 = nullptr; v6 = strlen(v12); std::string::__init(&v13, v12, v6); v7 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v5, &v13); CString = (char *)cocos2d::CCString::getCString(v7); if ( (v13 & 1) != 0 ) operator delete(v15); v13 = 0; v14 = 0; v15 = nullptr; v9 = strlen(CString); std::string::__init(&v13, CString, v9); v10 = FLAlertLayer::create(0, (cocos2d::CCLabelBMFont *)"Info", (char *)&v13, (ButtonSprite *)"OK", nullptr, 380.0); if ( (v13 & 1) != 0 ) operator delete(v15); (*(void (__fastcall **)(__int64))(*(_QWORD *)v10 + 1312LL))(v10); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source