// // GameLevelManager::reportContent from 0x83245c to 0x8327dc (896 bytes) // // 2 xrefs: // > ReportPopup::FLAlert_Clicked @ 0xcfeeec // > @ 0xcfbb0 // // 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 12:55:09 +0000 // __int64 __fastcall GameLevelManager::reportContent( cocos2d::CCObject *a1, unsigned int a2, unsigned int a3, unsigned int a4, __int64 *a5, const char *a6) { char *v11; // x27 __int64 v12; // x0 int v13; // w21 GJAccountManager *v14; // x0 unsigned int v15; // w21 __int64 v16; // x2 char v17; // w0 __int64 v18; // x0 __int64 v19; // x1 char *v20; // x19 cocos2d::CCString *v21; // x0 __int64 CString; // x0 cocos2d::CCString *v23; // x0 size_t v24; // x0 cocos2d::CCString *v25; // x0 size_t v26; // x0 const char *v27; // x1 size_t v28; // x0 cocos2d::CCString *v29; // x0 size_t v30; // x0 char *v32; // [xsp+68h] [xbp+68h] char *v33; // [xsp+68h] [xbp+68h] char *v34; // [xsp+68h] [xbp+68h] char *v35; // [xsp+68h] [xbp+68h] unsigned __int8 v36[16]; // [xsp+78h] [xbp+78h] BYREF void *v37; // [xsp+88h] [xbp+88h] __int64 v38[2]; // [xsp+90h] [xbp+90h] BYREF void *v39; // [xsp+A0h] [xbp+A0h] __int64 v40; // [xsp+A8h] [xbp+A8h] BYREF __int64 v41; // [xsp+B0h] [xbp+B0h] void *v42; // [xsp+B8h] [xbp+B8h] __int64 v43[2]; // [xsp+C0h] [xbp+C0h] BYREF void *v44; // [xsp+D0h] [xbp+D0h] __int64 v45[2]; // [xsp+D8h] [xbp+D8h] BYREF void *v46; // [xsp+E8h] [xbp+E8h] __int64 v47[2]; // [xsp+F0h] [xbp+F0h] BYREF void *v48; // [xsp+100h] [xbp+100h] if ( *a5 != a5[1] ) { v11 = (char *)&v36[1]; sub_8300A4(a5, v36); if ( (v36[0] & 1) != 0 ) v11 = (char *)v37; v12 = GJAccountManager::sharedState((GJAccountManager *)v36[0]); v13 = *(_DWORD *)(v12 + 352); v14 = (GJAccountManager *)*(unsigned int *)(v12 + 356); v15 = v13 - (_DWORD)v14; v16 = GJAccountManager::sharedState(v14) + 368; v17 = *(_BYTE *)v16; v40 = 0; v41 = 0; v42 = nullptr; if ( (v17 & 1) != 0 ) { std::string::__init(&v40, *(void **)(v16 + 16), *(_QWORD *)(v16 + 8)); } else { v18 = *(_QWORD *)v16; v19 = *(_QWORD *)(v16 + 8); v42 = *(void **)(v16 + 16); v40 = v18; v41 = v19; } v20 = (char *)&v40 + 1; if ( (v40 & 1) != 0 ) v20 = (char *)v42; v21 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%c%s%s%c%c%s", (const char *)off_50 + 7, "mfd", "2893", 103, 98, "7"); CString = cocos2d::CCString::getCString(v21); v23 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"type=%i&targetID=%i&special=%i&reasons=%s&accountID=%i&gjp2=%s&secret=%s", (const char *)a2, a3, a4, v11, v15, v20, CString); v32 = (char *)cocos2d::CCString::getCString(v23); v38[0] = 0; v38[1] = 0; v39 = nullptr; v24 = strlen(v32); std::string::__init(v38, v32, v24); if ( (v40 & 1) != 0 ) operator delete(v42); if ( (__int64)a6 > 0 ) { v25 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"&messageID=%lli", a6); v33 = (char *)cocos2d::CCString::getCString(v25); v26 = strlen(v33); std::string::append((__int64)v38, v33, v26); } v43[0] = 0; v43[1] = 0; v44 = nullptr; std::string::__init(v43, "https://www.boomlings.com/database/reportGJContent.php", 0x36u); v27 = (char *)v38 + 1; if ( (v38[0] & 1) != 0 ) v27 = (const char *)v39; v34 = (char *)v27; v45[0] = 0; v45[1] = 0; v46 = nullptr; v28 = strlen(v27); std::string::__init(v45, v34, v28); v29 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)a3); v35 = (char *)cocos2d::CCString::getCString(v29); v47[0] = 0; v47[1] = 0; v48 = nullptr; v30 = strlen(v35); std::string::__init(v47, v35, v30); GameLevelManager::ProcessHttpRequest(a1, v43, (__int64)v45, (char *)v47, 20); if ( (v47[0] & 1) != 0 ) operator delete(v48); if ( (v45[0] & 1) != 0 ) operator delete(v46); if ( (v43[0] & 1) != 0 ) operator delete(v44); if ( (v38[0] & 1) != 0 ) operator delete(v39); if ( (v36[0] & 1) != 0 ) operator delete(v37); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source