// // LevelLeaderboard::FLAlert_Clicked from 0x140301fc0 to 0x14030213d (381 bytes) // // 2 xrefs: // > @ 0x140588560 // > @ 0x1406d4394 // // 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=1 void LevelLeaderboard::FLAlert_Clicked(LevelLeaderboard *a1, FLAlertLayer *a2, bool a3) { LevelLeaderboard *v5; // rbx _QWORD *v6; // rax char **p_m_localBestPoints; // rax cocos2d::CCNode *v8; // rdi _BOOL8 v9; // rdx cocos2d::CCNode_vtbl *v10; // rbx __int64 v11; // rdx __int64 v12; // r8 cocos2d::CCNode *v13; // rax __int128 v14; // [rsp+30h] [rbp-48h] BYREF __int64 v15; // [rsp+40h] [rbp-38h] __int64 v16; // [rsp+48h] [rbp-30h] __int128 v17; // [rsp+50h] [rbp-28h] BYREF __int64 v18; // [rsp+60h] [rbp-18h] __int64 v19; // [rsp+68h] [rbp-10h] if ( a2->getTag(a2) == 991 && a3 ) { v5 = (LevelLeaderboard *)((char *)a1 - 640); v6 = (_QWORD *)(*(_QWORD *)((char *)&a1[-1].m_obPosition + 652) + 1408LL); v6[2] = 0; if ( v6[3] > 0xFu ) v6 = (_QWORD *)*v6; *(_BYTE *)v6 = 0; p_m_localBestPoints = (char **)&v5->m_level->m_localBestPoints; p_m_localBestPoints[2] = nullptr; if ( (unsigned __int64)p_m_localBestPoints[3] > 0xF ) p_m_localBestPoints = (char **)*p_m_localBestPoints; *(_BYTE *)p_m_localBestPoints = 0; v8 = v5->getParent((LevelLeaderboard *)((char *)a1 - 640)); v5->setKeypadEnabled(v5, 0); LOBYTE(v9) = 1; v5->removeFromParentAndCleanup(v5, v9); if ( v8 ) { v17 = 0; v18 = 0; v19 = 15; LOBYTE(v17) = 0; v14 = 0; *(_QWORD *)&v14 = sub_14003AA10(0x20u); v15 = 19; v16 = 31; strcpy((char *)v14, "Local scores reset."); v10 = v8->__vftable; v13 = TextAlertPopup::create((__int64)&v14, v11, v12, 150, (__int64)&v17); v10->addChild_0(v8, v13, 100); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source