// // GameLevelManager::claimNotificationReward from 0x4bbfb0 to 0x4bc112 (354 bytes) // // 1 xrefs: // > GJNotificationCell::onClaimReward @ 0x4249ce // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:50:17 +0000 // int __fastcall GameLevelManager::claimNotificationReward(GameLevelManager *this, const char *a2) { const char *v2; // r11 cocos2d::CCString *v5; // r0 const char *CString; // r10 int v7; // r2 int v8; // r3 cocos2d::CCString *v9; // r0 int v10; // r9 cocos2d::CCString *v11; // r0 char *v12; // r0 size_t v13; // r0 size_t v14; // r0 char *v16[3]; // [sp+10h] [bp-44h] BYREF char v17; // [sp+1Ch] [bp-38h] BYREF int v18[3]; // [sp+28h] [bp-2Ch] BYREF int v19[3]; // [sp+34h] [bp-20h] BYREF int v20[3]; // [sp+40h] [bp-14h] BYREF v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"notifReward_%i", a2); CString = (const char *)cocos2d::CCString::getCString(v5); if ( GameLevelManager::isDLActive(this, CString) ) return 0; GameLevelManager::addDLToActive(this, CString, v7, v8); GameLevelManager::getBasePostString((GameLevelManager *)v16); v9 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%c%s%s%c%c%s", (const char *)&dword_54 + 3, "mfd", "2893", 103, 98, &a1i2r3e45s789g[9]); v10 = cocos2d::CCString::getCString(v9); GameLevelManager::rewardSessionToken((GameLevelManager *)&v17); v11 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"¬ificationID=%i&secret=%s&chk=%s", a2, v10); v12 = (char *)cocos2d::CCString::getCString(v11); std::string::append(v16, v12); std::string::~string((int)&v17); memset(v18, 0, sizeof(v18)); std::string::__init(v18, "https://www.boomlings.com/database/claimGJNotificationReward.php", 0x40u); v19[0] = 0; v19[1] = 0; if ( ((int)v16[0] & 1) == 0 ) v2 = (char *)v16 + 1; v19[2] = 0; if ( ((int)v16[0] & 1) != 0 ) v2 = v16[2]; v13 = strlen(v2); std::string::__init(v19, v2, v13); memset(v20, 0, sizeof(v20)); v14 = strlen(CString); std::string::__init(v20, CString, v14); GameLevelManager::ProcessHttpRequest(this, v18, (int)v19, (int)v20, 110); std::string::~string((int)v20); std::string::~string((int)v19); std::string::~string((int)v18); std::string::~string((int)v16); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source