// // GameLevelManager::claimNotificationReward from 0x140251df0 to 0x140252021 (561 bytes) // // 2 xrefs: // > GJNotificationCell::onClaimReward @ 0x14015c87b // > @ 0x14091c4d8 // // This function is hookable on this platform (idp: pc, 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 11:28:42 +0000 // // Hidden C++ exception states: #wind=4 char __fastcall GameLevelManager::claimNotificationReward(cocos2d::CCActionManager **a1, int a2) { cocos2d::CCString *v4; // rax char *CString; // rdi __int64 v7; // rcx __int64 v8; // rcx __int64 v9; // rax const char *v10; // rbx cocos2d::CCString *v11; // rax const char *v12; // rax cocos2d::CCString *v13; // rax char *v14; // rax size_t v15; // rbx size_t v16; // r8 size_t v17; // r8 _QWORD *v18; // rdx int v19; // [rsp+20h] [rbp-79h] int v20; // [rsp+28h] [rbp-71h] __int128 v21; // [rsp+40h] [rbp-59h] BYREF __int64 v22; // [rsp+50h] [rbp-49h] __int64 v23; // [rsp+58h] [rbp-41h] __int128 v24; // [rsp+60h] [rbp-39h] BYREF __int64 v25; // [rsp+70h] [rbp-29h] __int64 v26; // [rsp+78h] [rbp-21h] __int128 *v27; // [rsp+80h] [rbp-19h] __int128 *v28; // [rsp+88h] [rbp-11h] __int128 v29; // [rsp+98h] [rbp-1h] BYREF __int64 v30; // [rsp+A8h] [rbp+Fh] __int64 v31; // [rsp+B0h] [rbp+17h] _QWORD Src[4]; // [rsp+B8h] [rbp+1Fh] BYREF v4 = cocos2d::CCString::createWithFormat("notifReward_%i", a2); CString = (char *)cocos2d::CCString::getCString(v4); if ( GameLevelManager::isDLActive((__int64)a1, CString) ) return 0; GameLevelManager::addDLToActive((__int64)a1, CString); GameLevelManager::getBasePostString(v7, Src); v9 = GameLevelManager::rewardSessionToken(v8, &v29); v10 = (const char *)v9; if ( *(_QWORD *)(v9 + 24) > 0xFu ) v10 = *(const char **)v9; v20 = 98; v19 = 103; v11 = cocos2d::CCString::createWithFormat("%c%s%s%c%c%s", 87, "mfd", "2893", v19, v20, (const char *)&word_14070D040); v12 = cocos2d::CCString::getCString(v11); v13 = cocos2d::CCString::createWithFormat("¬ificationID=%i&secret=%s&chk=%s", a2, v12, v10); v14 = (char *)cocos2d::CCString::getCString(v13); v15 = -1; v16 = -1; do ++v16; while ( v14[v16] ); sub_140044D80(Src, v14, v16); sub_14003D310((__int64)&v29); v27 = &v24; v28 = &v29; v24 = 0; v25 = 0; v26 = 0; v17 = -1; do ++v17; while ( CString[v17] ); sub_14003D230(&v24, CString, v17); v18 = Src; if ( Src[3] > 0xFu ) v18 = (_QWORD *)Src[0]; v29 = 0; v30 = 0; v31 = 0; do ++v15; while ( *((_BYTE *)v18 + v15) ); sub_14003D230(&v29, v18, v15); v21 = 0; *(_QWORD *)&v21 = sub_14003D460(0x50u); v22 = 64; v23 = 79; strcpy((char *)v21, "https://www.boomlings.com/database/claimGJNotificationReward.php"); GameLevelManager::ProcessHttpRequest(a1, (__int64)&v21, (const char *)&v29, (const char *)&v24, 0x6Eu); sub_14003D310((__int64)Src); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source