// // LevelInfoLayer::FLAlert_Clicked from 0x10002e598 to 0x10002e718 (384 bytes) // // 2 xrefs: // > sub_10002E718 @ 0x10002e71c // > @ 0x1008b09b0 // // 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:57:29 +0000 // void __fastcall LevelInfoLayer::FLAlert_Clicked(__int64 a1, __int64 a2, int a3) { __int64 v5; // x0 __int64 v7; // x19 __int64 v8; // x0 int v9; // w8 __int64 v10; // x0 v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); if ( (int)v5 > 8 ) { if ( (int)v5 > 10 ) { switch ( (_DWORD)v5 ) { case 0xB: if ( !a3 ) return; v7 = *(_QWORD *)(a1 + 504); if ( !v7 ) return; v8 = GameLevelManager::sharedState(v5); v9 = sub_1000AB94C(v8) + 1; break; case 0xC: if ( !a3 ) return; v7 = *(_QWORD *)(a1 + 504); if ( !v7 ) return; v10 = GameLevelManager::sharedState(v5); v9 = sub_1000AB988(v10) - 1; break; case 0xE: *(_BYTE *)(*(_QWORD *)(a1 + 504) + 1200LL) = 1; if ( a3 ) *(_BYTE *)(a1 + 744) = 1; else sub_1000CEBEC(); goto LABEL_37; default: return; } *(_DWORD *)(v7 + 632) = v9; return; } if ( (_DWORD)v5 == 9 ) { if ( !a3 ) return; *(_BYTE *)(*(_QWORD *)(a1 + 504) + 1048LL) = 1; } else { if ( !a3 ) return; *(_BYTE *)(*(_QWORD *)(a1 + 504) + 1200LL) = 1; } LABEL_37: LevelInfoLayer::onPlay(a1); return; } if ( (int)v5 <= 5 ) { if ( (_DWORD)v5 == 4 ) { if ( a3 ) LevelInfoLayer::onDelete(a1); } else if ( (_DWORD)v5 == 5 && a3 != 0 ) { LevelInfoLayer::onOwnerDelete(a1); } } else if ( (_DWORD)v5 == 6 ) { if ( a3 ) LevelInfoLayer::onClone(a1); } else if ( (_DWORD)v5 == 7 ) { LevelInfoLayer::onRate(a1); } else { LevelInfoLayer::onRateStars(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source