// // RateStarsModLayer::onRate from 0x79e7a4 to 0x79e84e (170 bytes) // // 0 xrefs: // // 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:59:52 +0000 // GameLevelManager *__fastcall RateStarsModLayer::onRate(GameLevelManager *this, cocos2d::CCObject *a2) { GameLevelManager *v2; // r4 int v3; // r2 int v4; // r5 GameLevelManager *v5; // r0 int v6; // r3 int v7; // r2 int v8; // r3 int v9[3]; // [sp+8h] [bp-10h] BYREF v2 = this; v3 = *((_DWORD *)this + 137); if ( v3 != -1 ) { v4 = v3 == 10 ? *((_DWORD *)this + 143) : 0; v5 = (GameLevelManager *)GameLevelManager::sharedState(this); this = (GameLevelManager *)GameLevelManager::suggestLevelStars( v5, *((const char **)v2 + 136), *((_DWORD *)v2 + 137), *((_DWORD *)v2 + 142), *((_BYTE *)v2 + 552), v4); if ( this ) { *(_DWORD *)(GameLevelManager::sharedState(this) + 888) = (char *)v2 + 524; v6 = *((_DWORD *)v2 + 140); if ( v6 ) *(_DWORD *)(v6 + 520) = 0; memset(v9, 0, sizeof(v9)); std::string::__init(v9, "Sending rating...", 0x11u); *((_DWORD *)v2 + 140) = UploadActionPopup::create((int)v2 + 520, (int)v9, v7, v8); std::string::~string((int)v9); return (GameLevelManager *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)v2 + 140) + 656))(*((_DWORD *)v2 + 140)); } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source