// // GameLevelManager::onClaimNotificationRewardCompleted from 0x4c96fc to 0x4c97c8 (204 bytes) // // 1 xrefs: // > GameLevelManager::handleIt @ 0x4db8b4 // // 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:36 +0000 // int __fastcall GameLevelManager::onClaimNotificationRewardCompleted(GameLevelManager *a1, unsigned __int8 *a2, int a3) { const char *v6; // r1 const char *v7; // r0 int v8; // r8 GameStatsManager *v9; // r0 cocos2d::CCObject *v10; // r9 GameStatsManager *v11; // r8 int v12; // r0 int result; // r0 int v14; // [sp+Ch] [bp-18h] BYREF int v15[3]; // [sp+10h] [bp-14h] BYREF if ( (*(_BYTE *)a3 & 1) != 0 ) v6 = *(const char **)(a3 + 8); else v6 = (const char *)(a3 + 1); GameLevelManager::removeDLFromActive(a1, v6); std::string::basic_string(v15, (unsigned __int8 *)a3, 0xCu, 0xFFFFFFFF); if ( (v15[0] & 1) != 0 ) v7 = (const char *)v15[2]; else v7 = (char *)v15 + 1; v8 = atoi(v7); std::string::~string((int)v15); v14 = 0; v9 = (GameStatsManager *)GameLevelManager::rewardItemFromResponse((int)a1, a2, &v14); v10 = v9; if ( v9 && v14 == v8 ) { v11 = (GameStatsManager *)GameStatsManager::sharedState(v9); v12 = GameStatsManager::sharedState(v11); GameStatsManager::getNotificationRewardKey((GameStatsManager *)v15, v12); GameStatsManager::storeOnlineChest((int)v11, (int)v15, v10); std::string::~string((int)v15); result = *((_DWORD *)a1 + 84); if ( result ) return (*(int (__fastcall **)(int))(*(_DWORD *)result + 8))(result); } else { result = *((_DWORD *)a1 + 84); if ( result ) return (*(int (__fastcall **)(int))(*(_DWORD *)result + 12))(result); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source