// // CommentCell::onGoToLevel from 0x100138570 to 0x100138674 (260 bytes) // // 1 xrefs: // > CommentCell::loadFromComment @ 0x10012bec8 // // 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 10:59:27 +0000 // void __fastcall CommentCell::onGoToLevel(__int64 a1) { __int64 v1; // x8 int v2; // w20 __int64 v4; // x0 __int64 v5; // x0 __int64 v6; // x0 __int64 v7; // x0 char *v8; // x0 char *v9; // x19 unsigned int v10; // w20 __int64 v11; // x20 __int64 v12; // x0 __int64 v13; // x0 __int64 v14; // x19 void *__p[2]; // [xsp+0h] [xbp-40h] BYREF char v16; // [xsp+17h] [xbp-29h] void *v17[2]; // [xsp+18h] [xbp-28h] BYREF char v18; // [xsp+2Fh] [xbp-11h] v1 = *(_QWORD *)(a1 + 584); if ( v1 ) { v2 = *(_DWORD *)(v1 + 380); if ( v2 ) { if ( *(_DWORD *)(v1 + 436) == 3 ) { v4 = GameManager::sharedState(a1); v5 = GameManager::offlineModeEnabled(v4); if ( (_DWORD)v5 ) { v6 = GameManager::sharedState(v5); sub_1003B6200(v6); } else { GameToolbox::intToString(*(unsigned int *)(*(_QWORD *)(a1 + 584) + 380LL), v17); v14 = sub_1004CC090(v17, 0); if ( v18 < 0 ) operator delete(v17[0]); if ( v14 ) (*(void (__fastcall **)(__int64))(*(_QWORD *)v14 + 1312LL))(v14); } } else { if ( v2 >= 0 ) v7 = (unsigned int)v2; else v7 = (unsigned int)-v2; GameToolbox::intToString(v7, __p); v8 = GJSearchObject::create_1(0, (__int128 *)__p); v9 = v8; v10 = (unsigned int)v2 >> 31; if ( v16 < 0 ) operator delete(__p[0]); *((_DWORD *)v9 + 108) = v10; v11 = cocos2d::CCDirector::sharedDirector(v8); v12 = LevelBrowserLayer::scene(v9); v13 = cocos2d::CCTransitionFade::create_1(v12, 0.5); cocos2d::CCDirector::pushScene(v11, v13); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source