// // OptionsLayer::onParental from 0x52d8a0 to 0x52d8d0 (48 bytes) // // 0 xrefs: // // 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 // int __fastcall OptionsLayer::onParental(OptionsLayer *this, cocos2d::CCObject *a2) { GameManager *v2; // r0 ParentalGateLayer *GameVariable; // r0 GameManager *v4; // r0 FLAlertLayer *v5; // r0 v2 = (GameManager *)GameManager::sharedState(this); GameVariable = (ParentalGateLayer *)GameManager::getGameVariable(v2, "0228"); if ( GameVariable && (v4 = (GameManager *)GameManager::sharedState(GameVariable), (GameVariable = (ParentalGateLayer *)GameManager::parentalOptionsActive(v4)) != nullptr) ) { v5 = ParentalGateLayer::create(GameVariable); } else { v5 = ParentalOptionsLayer::create(GameVariable); } return (*(int (__fastcall **)(FLAlertLayer *))(*(_DWORD *)v5 + 656))(v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source