// // ReportPopup::FLAlert_Clicked from 0xcfee44 to 0xcff04c (520 bytes) // // 3 xrefs: // > `non-virtual thunk to'ReportPopup::FLAlert_Clicked @ 0xcff054 // > @ 0x6ab40 // > @ 0x1506c80 // // 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 13:06:53 +0000 // __int64 __fastcall ReportPopup::FLAlert_Clicked(ReportPopup *this, FLAlertLayer *a2, char a3) { GameLevelManager *v5; // x0 cocos2d::CCObject *v6; // x0 cocos2d::CCDirector *v7; // x0 __int64 *v8; // x21 __int64 v9; // x3 void (__fastcall *v10)(__int64 *, __int64, __int64); // x24 __int64 v11; // x0 GameLevelManager *v12; // [xsp+40h] [xbp+40h] BYREF GameLevelManager *v13; // [xsp+48h] [xbp+48h] __int64 v14[2]; // [xsp+58h] [xbp+58h] BYREF void *v15; // [xsp+68h] [xbp+68h] __int64 v16[2]; // [xsp+70h] [xbp+70h] BYREF void *v17; // [xsp+80h] [xbp+80h] if ( a3 && (*(unsigned int (__fastcall **)(FLAlertLayer *))(*(_QWORD *)a2 + 64LL))(a2) == 1 ) { ReportPopup::selectedReasons(this, &v12); v5 = v12; if ( v12 == v13 ) { if ( v12 ) LABEL_14: operator delete(v5); } else { v6 = (cocos2d::CCObject *)GameLevelManager::sharedState(v12); v7 = (cocos2d::CCDirector *)GameLevelManager::reportContent( v6, *((_DWORD *)this + 256), *((_DWORD *)this + 257), *((_DWORD *)this + 258), (__int64 *)&v12, *((const char **)this + 136)); v8 = *(__int64 **)(cocos2d::CCDirector::sharedDirector(v7) + 272); v9 = *v8; v14[0] = 0; v14[1] = 0; v10 = *(void (__fastcall **)(__int64 *, __int64, __int64))(v9 + 464); v15 = nullptr; std::string::__init(v14, "Report received", 0xFu); v16[0] = 0; v16[1] = 0; v17 = nullptr; std::string::__init(v16, &byte_11B8890, 0); v11 = TextAlertPopup::create((char *)v14, 150, (char *)v16, 0.5, 0.6); v10(v8, v11, 1000); if ( (v16[0] & 1) != 0 ) operator delete(v17); if ( (v14[0] & 1) != 0 ) operator delete(v15); (*(void (__fastcall **)(ReportPopup *, _QWORD))(*(_QWORD *)this + 1368LL))(this, 0); v5 = v12; if ( v12 ) { if ( v12 != v13 ) v13 = (GameLevelManager *)((char *)v13 + 4 * ~((unsigned __int64)((GameLevelManager *)((char *)v13 - 4) - v12) >> 2)); goto LABEL_14; } } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source