// // GameStatsManager::getDemonLevelKey from 0x8ca704 to 0x8ca778 (116 bytes) // // 5 xrefs: // > GameStatsManager::hasCompletedDemonLevel @ 0x8ca834 // > GameStatsManager::markLevelAsCompletedAndClaimed @ 0x8defcc // > GameStatsManager::uncompleteLevel @ 0x8df150 // > GameStatsManager::completedDemonLevel @ 0x8e85a4 // > @ 0xc0d60 // // 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:56:36 +0000 // __int64 __fastcall GameStatsManager::getDemonLevelKey(GameStatsManager *this, GJGameLevel *a2) { int v2; // w0 int v3; // w0 int v4; // w2 int v5; // w1 cocos2d::CCString *v6; // x0 v2 = *((_DWORD *)a2 + 230) - *((_DWORD *)a2 + 231); if ( v2 > 0 ) { v6 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"ddemon_%i", (const char *)(unsigned int)v2); } else { v3 = *((unsigned __int8 *)a2 + 649); v4 = *((_DWORD *)a2 + 82); v5 = *((_DWORD *)a2 + 83); if ( v3 ) v6 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"gdemon_%i", (const char *)(unsigned int)(v4 - v5)); else v6 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"demon_%i", (const char *)(unsigned int)(v4 - v5)); } return cocos2d::CCString::getCString(v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source