// // InfoLayer::FLAlert_Clicked from 0x1007b2070 to 0x1007b2149 (217 bytes) // // 2 xrefs: // > sub_1007B2150 @ 0x1007b215c // > @ 0x100992a18 // // 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 // void __fastcall InfoLayer::FLAlert_Clicked(InfoLayer *a1, FLAlertLayer *a2, bool a3) { int v4; // eax GameLevelManager *v5; // rax GJUserScore *m_score; // rcx int m_userID; // esi GJLevelList *m_levelList; // rcx GJGameLevel *m_level; // rcx __int64 v10; // rax _WORD v11[10]; // [rsp+Ch] [rbp-14h] BYREF v4 = ((__int64 (__fastcall *)(FLAlertLayer *))a2->getTag)(a2); if ( v4 == 3 ) { InfoLayer::onComment(a1, a2); } else if ( v4 == 2 && a3 ) { v5 = GameLevelManager::sharedState(); m_score = a1->m_score; if ( m_score ) { m_userID = m_score->m_userID; } else { m_levelList = a1->m_levelList; if ( m_levelList ) { m_userID = -m_levelList->m_listID; } else { m_level = a1->m_level; if ( m_level ) m_userID = m_level->m_levelID.random - m_level->m_levelID.seed; else m_userID = 0; } } GameLevelManager::reportLevel(v5, m_userID); v10 = ((__int64 (__fastcall *)(CCMenuItemSpriteExtra *))a1->m_reportBtn->getNormalImage)(a1->m_reportBtn); memset(v11, 75, 3); (*(void (__fastcall **)(__int64, _WORD *))(*(_QWORD *)v10 + 944LL))(v10, v11); ((void (__fastcall *)(CCMenuItemSpriteExtra *, _QWORD))a1->m_reportBtn->setEnabled)(a1->m_reportBtn, 0); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source