// // MessageThreadsPage::FLAlert_Clicked from 0xc73574 to 0xc738a0 (812 bytes) // // 3 xrefs: // > `non-virtual thunk to'MessageThreadsPage::FLAlert_Clicked @ 0xc738a4 // > @ 0x4cf78 // > @ 0x14ec1f8 // // 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:05:32 +0000 // __int64 __fastcall MessageThreadsPage::FLAlert_Clicked(MessageThreadsPage *this, FLAlertLayer *a2, char a3) { cocos2d::CCArray *v5; // x0 signed int v6; // w19 __int64 v7; // x25 __int64 v8; // x1 cocos2d::CCString *v9; // x0 char *v10; // x0 cocos2d::CCObject *v11; // x28 bool v12; // zf unsigned int v13; // w27 int v14; // w25 GameLevelManager *v15; // x0 int v16; // w25 cocos2d::CCObject *v17; // x27 unsigned int v18; // w24 cocos2d::CCString *v19; // x0 size_t v20; // x0 GameLevelManager *updated; // x0 int v22; // w24 __int64 v23; // x1 GameLevelManager *v24; // x0 GameLevelManager *v25; // x1 int v26; // w2 int v27; // t1 int v28; // w2 cocos2d::CCObject *v29; // x0 GameLevelManager *v30; // x0 __int64 v31; // x0 char v32; // w19 char *CString; // [xsp+68h] [xbp+68h] __int64 v34; // [xsp+70h] [xbp+70h] BYREF __int64 v35; // [xsp+78h] [xbp+78h] void *v36; // [xsp+80h] [xbp+80h] __int64 v37[2]; // [xsp+88h] [xbp+88h] BYREF void *v38; // [xsp+98h] [xbp+98h] __int64 v39[2]; // [xsp+A0h] [xbp+A0h] BYREF void *v40; // [xsp+B0h] [xbp+B0h] if ( a3 ) { if ( (*(unsigned int (__fastcall **)(FLAlertLayer *))(*(_QWORD *)a2 + 64LL))(a2) == 2 ) { v5 = *((cocos2d::CCArray **)this + 100); if ( v5 ) { v34 = 0; v6 = 0; v35 = 0; v36 = nullptr; while ( v6 < (int)cocos2d::CCArray::count(v5) ) { v7 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 100), v6); if ( *(_BYTE *)(v7 + 304) ) { if ( *(_BYTE *)(v7 + 264) ) { if ( *(_BYTE *)(v7 + 265) ) { v17 = (cocos2d::CCObject *)GameLevelManager::sharedState((GameLevelManager *)*(unsigned __int8 *)(v7 + 265)); v18 = *(_DWORD *)(v7 + 56); v19 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%i", (const char *)*(unsigned int *)(v7 + 60)); CString = (char *)cocos2d::CCString::getCString(v19); v39[0] = 0; v39[1] = 0; v40 = nullptr; v20 = strlen(CString); std::string::__init(v39, CString, v20); updated = (GameLevelManager *)GameLevelManager::updateThread(v17, (char *)v18, 11, (char *)v39); v22 = (unsigned __int8)updated; if ( (v39[0] & 1) != 0 ) operator delete(v40); if ( v22 ) *(_QWORD *)(GameLevelManager::sharedState(updated) + 1264) = (char *)this + 664; } v8 = (unsigned __int8)v34 >> 1; if ( (v34 & 1) != 0 ) v8 = v35; if ( v8 ) std::string::append((__int64)&v34, &byte_1169BE0); v9 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%i", (const char *)*(unsigned int *)(v7 + 56)); v10 = (char *)cocos2d::CCString::getCString(v9); std::string::append((__int64)&v34, v10); } else { v11 = (cocos2d::CCObject *)GameLevelManager::sharedState((GameLevelManager *)*(unsigned __int8 *)(v7 + 264)); v12 = *(_DWORD *)(v7 + 268) == 8; v13 = *(_DWORD *)(v7 + 56); v37[0] = 0; if ( v12 ) v14 = 18; else v14 = 5; v37[1] = 0; v38 = nullptr; std::string::__init(v37, &byte_11B8890, 0); v15 = (GameLevelManager *)GameLevelManager::updateThread(v11, (char *)v13, v14, (char *)v37); v16 = (unsigned __int8)v15; if ( (v37[0] & 1) != 0 ) operator delete(v38); if ( v16 ) *(_QWORD *)(GameLevelManager::sharedState(v15) + 1264) = (char *)this + 664; } } v5 = *((cocos2d::CCArray **)this + 100); ++v6; } if ( (v34 & 1) != 0 ) { v23 = v35; if ( !v35 ) goto LABEL_38; v24 = (GameLevelManager *)v36; } else { LODWORD(v23) = (int)(unsigned __int8)v34 >> 1; if ( !(_DWORD)v23 ) return _stack_chk_guard; v23 = (int)v23; v24 = (GameLevelManager *)((char *)&v34 + 1); } v25 = (GameLevelManager *)((char *)v24 + v23); if ( v25 == v24 ) { v28 = 1; } else { v26 = 0; do { v27 = *(unsigned __int8 *)v24; v24 = (GameLevelManager *)((char *)v24 + 1); if ( v27 == 44 ) ++v26; } while ( v24 != v25 ); v28 = v26 + 1; } *((_DWORD *)this + 209) = v28; v29 = (cocos2d::CCObject *)GameLevelManager::sharedState(v24); v30 = (GameLevelManager *)(unsigned __int8)GameLevelManager::updateThread(v29, nullptr, 1, (char *)&v34); if ( (_BYTE)v30 ) { v31 = GameLevelManager::sharedState(v30); v32 = v34; *(_QWORD *)(v31 + 1264) = (char *)this + 664; if ( (v32 & 1) == 0 ) return _stack_chk_guard; goto LABEL_38; } if ( (v34 & 1) != 0 ) LABEL_38: operator delete(v36); } } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source