// // InfoLayer::FLAlert_Clicked from 0x42f578 to 0x42f5fa (130 bytes) // // 1 xrefs: // > `non-virtual thunk to'InfoLayer::FLAlert_Clicked @ 0x42f604 // // 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 InfoLayer::FLAlert_Clicked(InfoLayer *a1, FLAlertLayer *a2, bool a3) { _BOOL4 v4; // r6 int v5; // r0 GameLevelManager *v6; // r6 int ID; // r0 cocos2d::CCNode *v8; // r0 int (__fastcall *getTag)(const cocos2d::CCObject *__hidden); // r2 _DWORD v10[2]; // [sp+0h] [bp-8h] BYREF v10[0] = a1; v10[1] = a2; v4 = a3; v5 = a2->getTag(a2); if ( v5 == 2 ) { if ( v4 ) { v6 = GameLevelManager::sharedState(); ID = InfoLayer::getID(a1); GameLevelManager::reportLevel(v6, ID); v8 = a1->m_reportBtn->getNormalImage(a1->m_reportBtn); getTag = v8->__vftable[1].getTag; memset(v10, 75, 3); ((void (__fastcall *)(cocos2d::CCNode *, _DWORD *))getTag)(v8, v10); a1->m_reportBtn->setEnabled(a1->m_reportBtn, 0); } } else if ( v5 == 3 ) { InfoLayer::onComment(a1, nullptr); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source