// // CommentCell::onGoToLevel from 0x1401550d0 to 0x140155268 (408 bytes) // // 2 xrefs: // > CommentCell::loadFromComment @ 0x1401539f6 // > @ 0x140917924 // // 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:27:20 +0000 // // Hidden C++ exception states: #wind=2 char __fastcall CommentCell::onGoToLevel(__int64 a1) { _DWORD *v2; // rax int v3; // edi __int64 v4; // rcx _QWORD *v5; // rax unsigned int v6; // edx _QWORD *v7; // rax __int64 v8; // rbx struct cocos2d::CCScene *v9; // rdi __int64 v10; // rcx __int64 v11; // rax struct cocos2d::CCScene *v12; // rbx __int64 v13; // rcx cocos2d::CCDirector *v14; // rax _QWORD v16[5]; // [rsp+20h] [rbp-28h] BYREF void *v17; // [rsp+50h] [rbp+8h] void *v18; // [rsp+50h] [rbp+8h] v2 = *(_DWORD **)(a1 + 592); if ( v2 ) { v3 = v2[99]; if ( v3 ) { if ( v2[115] == 3 ) { v4 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v17 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager(v17); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v4 = qword_14090BFD0; } if ( (unsigned __int8)GameManager::getGameVariable(v4, "0219") ) { if ( !qword_14090BFD0 ) { v18 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager(v18); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); } LOBYTE(v2) = GameManager::showParentalRestrictedAlert(); } else { v5 = GameToolbox::intToString(v16, *(_DWORD *)(*(_QWORD *)(a1 + 592) + 396LL)); v2 = (_DWORD *)EditorSoundBrowserLayer::create(v5, 0); if ( v2 ) LOBYTE(v2) = (*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)v2 + 1064LL))(v2); } } else { v6 = v2[99]; if ( v3 < 0 ) v6 = -v3; v7 = GameToolbox::intToString(v16, v6); v8 = GJSearchObject::create_1(0, v7); *(_DWORD *)(v8 + 464) = (unsigned int)v3 >> 31; v9 = (struct cocos2d::CCScene *)cocos2d::CCScene::create(); *(_QWORD *)(cocos2d::CCApplication::sharedApplication(v10) + 232) = v9; v11 = LevelBrowserLayer::create(v8); (*(void (__fastcall **)(struct cocos2d::CCScene *, __int64))(*(_QWORD *)v9 + 464LL))(v9, v11); v12 = cocos2d::CCTransitionFade::create(0.5, v9); v14 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v13); LOBYTE(v2) = cocos2d::CCDirector::pushScene(v14, v12); } } } return (char)v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source