// // ParentalGateLayer::onDone from 0x533da8 to 0x533e70 (200 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:06 +0000 // int __fastcall ParentalGateLayer::onDone(ParentalGateLayer *this, cocos2d::CCObject *a2) { const char *v3; // r0 ParentalOptionsLayer *v4; // r0 FLAlertLayer *v5; // r0 void (__fastcall *v7)(ParentalGateLayer *, int, int); // r9 int v8; // r0 int v9[3]; // [sp+Ch] [bp-20h] BYREF int v10[3]; // [sp+18h] [bp-14h] BYREF if ( (*((_BYTE *)this + 552) & 1) != 0 ) v3 = *((const char **)this + 140); else v3 = (char *)this + 553; v4 = (ParentalOptionsLayer *)atoi(v3); if ( v4 == *((ParentalOptionsLayer **)this + 142) ) { v5 = ParentalOptionsLayer::create(v4); (*(void (__fastcall **)(FLAlertLayer *))(*(_DWORD *)v5 + 656))(v5); return NumberInputLayer::onClose(this, nullptr); } else { ParentalGateLayer::generateChallenge(this); v7 = *(void (__fastcall **)(ParentalGateLayer *, int, int))(*(_DWORD *)this + 232); memset(v9, 0, sizeof(v9)); std::string::__init(v9, "Wrong answer!", 0xDu); memset(v10, 0, sizeof(v10)); std::string::__init(v10, &unk_B6B226, 0); v8 = TextAlertPopup::create(v9, 1061997773, 1058642330, 150, v10); v7(this, v8, 100); std::string::~string((int)v10); return std::string::~string((int)v9); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source