// // UploadPopup::onReturnToLevel from 0x140490fa0 to 0x140491083 (227 bytes) // // 2 xrefs: // > UploadPopup::levelUploadFinished @ 0x140490d0e // > @ 0x1406dc0b0 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // Hidden C++ exception states: #wind=3 void UploadPopup::onReturnToLevel(UploadPopup *a1, cocos2d::CCObject *a2) { struct cocos2d::CCScene *v3; // rax struct cocos2d::CCTransitionFade *v4; // rbx __int64 v5; // rcx cocos2d::CCDirector *v6; // rax __int64 v7; // rcx GameLevelManager *v8; // rcx void *v9; // [rsp+30h] [rbp+8h] void *v10; // [rsp+30h] [rbp+8h] a1->setKeypadEnabled(a1, 0); v3 = EditLevelLayer::scene(a1->m_level); v4 = cocos2d::CCTransitionFade::create(0.5, v3); v6 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v5); cocos2d::CCDirector::replaceScene(v6, v4); v7 = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v9 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v9); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v7 = qword_1406C2ED8; } if ( *(_DWORD *)(v7 + 652) == *(_DWORD *)(v7 + 656) && !*(_BYTE *)(v7 + 648) ) { v8 = (GameLevelManager *)qword_1406C2EC0; if ( !qword_1406C2EC0 ) { v10 = operator new(0x3D0u); qword_1406C2EC0 = sub_140141280((__int64)v10); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0); v8 = (GameLevelManager *)qword_1406C2EC0; } GameLevelManager::updateUserScore(v8); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source