// // ParentalGateLayer::onDone from 0x100886f40 to 0x100887044 (260 bytes) // // 1 xrefs: // > @ 0x100ba5ed8 // // This function is hookable on this platform (idp: pc, 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:36:59 +0000 // void __fastcall ParentalGateLayer::onDone(__int64 a1) { char *v1; // rax char *v2; // rax __int128 v3; // [rsp+8h] [rbp-38h] BYREF void *__p; // [rsp+18h] [rbp-28h] __int128 v5; // [rsp+20h] [rbp-20h] BYREF void *v6; // [rsp+30h] [rbp-10h] if ( (*(_BYTE *)(a1 + 720) & 1) == 0 ) { if ( atoi((const char *)(a1 + 721)) != *(_DWORD *)(a1 + 752) ) goto LABEL_3; LABEL_7: v2 = ParentalOptionsLayer::create(); (*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 1312LL))(v2); NumberInputLayer::onClose(a1); return; } if ( atoi(*(const char **)(a1 + 736)) == *(_DWORD *)(a1 + 752) ) goto LABEL_7; LABEL_3: ParentalGateLayer::generateChallenge(a1); LOBYTE(v5) = 26; strcpy((char *)&v5 + 1, "Wrong answer!"); LOWORD(v3) = 0; v1 = TextAlertPopup::create(&v5, 0x96u, &v3, 0.80000001, 0.60000002); (*(void (__fastcall **)(__int64, char *, __int64))(*(_QWORD *)a1 + 464LL))(a1, v1, 100); if ( (v3 & 1) == 0 ) { if ( (v5 & 1) == 0 ) return; LABEL_9: operator delete(v6); return; } operator delete(__p); if ( (v5 & 1) != 0 ) goto LABEL_9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source