// // CommentCell::onGoToLevel from 0x735cdc to 0x735e48 (364 bytes) // // 3 xrefs: // > @ 0xe3008 // > CommentCell::loadFromComment @ 0x74c600 // > @ 0x1546d08 // // This function is hookable on this platform (idp: arm, 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:52:39 +0000 // __int64 __fastcall CommentCell::onGoToLevel(CommentCell *this, cocos2d::CCObject *a2) { __int64 v3; // x1 unsigned __int64 v4; // x0 int v6; // w21 LevelBrowserLayer *v7; // x20 cocos2d::CCDirector *v8; // x0 cocos2d::CCDirector *v9; // x21 GJSearchObject *v10; // x1 cocos2d::CCTransitionFade *v11; // x0 cocos2d::CCScene *v12; // x1 cocos2d::CCScene *v13; // x0 GameManager *v14; // x0 GameManager *v15; // x0 __int64 v16; // x0 __int64 v17; // x20 GameManager *v18; // x0 cocos2d::CCDirector *v19[2]; // [xsp+40h] [xbp+40h] BYREF void *v20; // [xsp+50h] [xbp+50h] v3 = *((_QWORD *)this + 73); if ( v3 ) { v4 = *(unsigned int *)(v3 + 380); if ( (_DWORD)v4 ) { if ( *(_DWORD *)(v3 + 436) == 3 ) { v14 = (GameManager *)GameManager::sharedState((GameManager *)v4); v15 = (GameManager *)(unsigned __int8)GameManager::offlineModeEnabled(v14); if ( (_BYTE)v15 ) { v18 = (GameManager *)GameManager::sharedState(v15); GameManager::showParentalRestrictedAlert(v18); return _stack_chk_guard; } GameToolbox::intToString( (unsigned __int64 *)v19, (GameToolbox *)*(unsigned int *)(*((_QWORD *)this + 73) + 380LL)); v16 = EditorSoundBrowserLayer::create(v19, 0); v17 = v16; if ( ((__int64)v19[0] & 1) != 0 ) { operator delete(v20); if ( !v17 ) return _stack_chk_guard; } else if ( !v16 ) { return _stack_chk_guard; } (*(void (__fastcall **)(__int64))(*(_QWORD *)v17 + 1312LL))(v17); return _stack_chk_guard; } v6 = 0; if ( (v4 & 0x80000000) != 0 ) { v4 = (unsigned int)-(int)v4; v6 = 1; } GameToolbox::intToString((unsigned __int64 *)v19, (GameToolbox *)v4); v7 = (LevelBrowserLayer *)GJSearchObject::create(0, v19); v8 = (cocos2d::CCDirector *)LOBYTE(v19[0]); if ( ((__int64)v19[0] & 1) != 0 ) operator delete(v20); *((_DWORD *)v7 + 108) = v6; v9 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v8); v11 = (cocos2d::CCTransitionFade *)LevelBrowserLayer::scene(v7, v10); v13 = (cocos2d::CCScene *)cocos2d::CCTransitionFade::create(v11, 0.5, v12); cocos2d::CCDirector::pushScene(v9, v13); } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source