// // ParentalPrivacyPopup::checkPending from 0x1404d42b0 to 0x1404d4561 (689 bytes) // // 2 xrefs: // > MenuLayer::checkParentalPending @ 0x140474180 // > @ 0x140929870 // // 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 11:33:01 +0000 // // Hidden C++ exception states: #wind=3 void ParentalPrivacyPopup::checkPending() { __int64 v0; // rbx cocos2d::CCString *v1; // rax int v2; // ebx void *v3; // rax __int64 v4; // rax __int64 v5; // rbx __int64 v6; // rbx struct cocos2d::CCString *v7; // rax void *v8; // rcx _QWORD *v9; // rax void *v10; // [rsp+30h] [rbp-38h] void *v11; // [rsp+30h] [rbp-38h] void *Block[2]; // [rsp+38h] [rbp-30h] BYREF __int64 v13; // [rsp+48h] [rbp-20h] unsigned __int64 v14; // [rsp+50h] [rbp-18h] if ( !byte_14090C0C8 ) { v0 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v10 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v10); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v0 = qword_14090BFD0; } *(_OWORD *)Block = 0; v13 = 3; v14 = 15; LODWORD(Block[0]) = 6256231; sub_140044D80(Block, "0227", 4u); v1 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(*(_QWORD *)(v0 + 432), Block); v2 = cocos2d::CCString::intValue(v1); if ( v14 > 0xF ) { v3 = Block[0]; if ( v14 + 1 >= 0x1000 ) { v3 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v3 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v3); } if ( ((v2 - 1) & 0xFFFFFFFC) == 0 && v2 != 2 ) { v4 = GJAccountManager::sharedState(); if ( *(_DWORD *)(v4 + 360) - *(_DWORD *)(v4 + 364) > 0 ) { if ( v2 == 3 && (unsigned __int8)ParentalPrivacyPopup::snapshotIsForOtherAccount() ) { v5 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v11 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v11); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v5 = qword_14090BFD0; } *(_OWORD *)Block = 0; v13 = 3; v14 = 15; LODWORD(Block[0]) = 6256231; sub_140044D80(Block, "0227", 4u); v6 = *(_QWORD *)(v5 + 432); v7 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, 0); cocos2d::CCDictionary::setObject(v6, v7, Block); if ( v14 > 0xF ) { v8 = Block[0]; if ( v14 + 1 >= 0x1000 ) { v8 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v8 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v8); } } else { byte_14090C0C8 = 1; v9 = ParentalPrivacyPopup::create(v2 == 3); (*(void (__fastcall **)(_QWORD *))(*v9 + 1064LL))(v9); } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source