// // CommentCell::onGoToLevel from 0x10023de00 to 0x10023df27 (295 bytes) // // 1 xrefs: // > CommentCell::loadFromComment @ 0x10022e85c // // 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:27:17 +0000 // void __fastcall CommentCell::onGoToLevel(__int64 a1, __int64 a2, __int64 a3) { __int64 v3; // rax int v4; // r15d double v6; // xmm0_8 __int64 v7; // rax __int64 v8; // rdi __int64 v9; // rdx double v10; // xmm0_8 __int64 v11; // rax __int64 v12; // rsi void *v13; // rdi __int64 v14; // rbx unsigned int v15; // r15d __int64 v16; // r14 __int64 v17; // rax char *v18; // rax __int64 v19; // rbx _BYTE v20[16]; // [rsp+8h] [rbp-48h] BYREF void *v21; // [rsp+18h] [rbp-38h] _BYTE v22[16]; // [rsp+20h] [rbp-30h] BYREF void *__p; // [rsp+30h] [rbp-20h] v3 = *(_QWORD *)(a1 + 584); if ( v3 ) { v4 = *(_DWORD *)(v3 + 380); if ( v4 ) { if ( *(_DWORD *)(v3 + 436) == 3 ) { *(_QWORD *)&v6 = GameManager::sharedState(a1, a2, a3).u64[0]; v8 = v7; if ( (unsigned __int8)GameManager::offlineModeEnabled(v7, v6) ) { *(_QWORD *)&v10 = GameManager::sharedState(v8, a2, v9).u64[0]; GameManager::showParentalRestrictedAlert(v11, v10); } else { GameToolbox::intToString(v20, *(unsigned int *)(*(_QWORD *)(a1 + 584) + 380LL)); v19 = sub_1008EEE60(v20, 0); if ( (v20[0] & 1) != 0 ) operator delete(v21); if ( v19 ) (*(void (__fastcall **)(__int64))(*(_QWORD *)v19 + 1312LL))(v19); } } else { v12 = (unsigned int)-v4; if ( v4 > 0 ) v12 = (unsigned int)v4; GameToolbox::intToString(v22, v12); v13 = nullptr; v14 = GJSearchObject::create_1(0, v22); v15 = (unsigned int)v4 >> 31; if ( (v22[0] & 1) != 0 ) { v13 = __p; operator delete(__p); } *(_DWORD *)(v14 + 432) = v15; v16 = cocos2d::CCDirector::sharedDirector(v13, v22); v17 = LevelBrowserLayer::scene(v14); v18 = cocos2d::CCTransitionFade::create_1(v17, 0.5); cocos2d::CCDirector::pushScene(v16, v18); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source