// // LevelInfoLayer::FLAlert_Clicked from 0x49bb7c to 0x49bc5c (224 bytes) // // 1 xrefs: // > `non-virtual thunk to'LevelInfoLayer::FLAlert_Clicked @ 0x49bc60 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:49:45 +0000 // GameLevelManager *__fastcall LevelInfoLayer::FLAlert_Clicked(GJGameLevel **this, FLAlertLayer *a2, int a3) { GameLevelManager *result; // r0 int v6; // r4 GameLevelManager *v7; // r0 GameLevelManager *v8; // r0 cocos2d::CCDirector *v9; // r0 result = (GameLevelManager *)((*(int (__fastcall **)(FLAlertLayer *))(*(_DWORD *)a2 + 32))(a2) - 4); switch ( (unsigned int)result ) { case 0u: if ( a3 ) result = (GameLevelManager *)LevelInfoLayer::onDelete((LevelInfoLayer *)this, nullptr); break; case 1u: if ( a3 ) result = (GameLevelManager *)LevelInfoLayer::onOwnerDelete((LevelInfoLayer *)this, nullptr); break; case 2u: if ( a3 ) result = (GameLevelManager *)LevelInfoLayer::onClone(this, nullptr); break; case 3u: result = LevelInfoLayer::onRate((GameManager *)this, nullptr); break; case 4u: result = LevelInfoLayer::onRateStars((GameManager *)this, nullptr); break; case 5u: if ( a3 ) { *((_BYTE *)*(this + 91) + 872) = 1; goto LABEL_21; } break; case 6u: if ( a3 ) { *((_BYTE *)*(this + 91) + 984) = 1; goto LABEL_21; } break; case 7u: if ( a3 ) { v6 = (int)*(this + 91); if ( v6 ) { v7 = (GameLevelManager *)GameLevelManager::sharedState(result); result = (GameLevelManager *)(GameLevelManager::getHighestLevelOrder(v7) + 1); goto LABEL_16; } } break; case 8u: if ( a3 ) { v6 = (int)*(this + 91); if ( v6 ) { v8 = (GameLevelManager *)GameLevelManager::sharedState(result); result = (GameLevelManager *)(GameLevelManager::getLowestLevelOrder(v8) - 1); LABEL_16: *(_DWORD *)(v6 + 460) = result; } } break; case 0xAu: *((_BYTE *)*(this + 91) + 984) = 1; if ( a3 ) { *((_BYTE *)this + 496) = 1; LABEL_21: v9 = (cocos2d::CCDirector *)this; } else { GJGameLevel::clearPlatformerSave(*(this + 91)); v9 = (cocos2d::CCDirector *)this; } result = LevelInfoLayer::onPlay(v9, nullptr); break; default: return result; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source