// // RateStarsLayer::onRate from 0x569398 to 0x569452 (186 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:52:30 +0000 // int __fastcall RateStarsLayer::onRate(int this, cocos2d::CCObject *a2) { int v2; // r4 GameLevelManager *v3; // r0 int v4; // r3 GameLevelManager *v5; // r0 GameLevelManager *v6; // r0 int v7[3]; // [sp+8h] [bp-10h] BYREF v2 = this; if ( *(_DWORD *)(this + 544) != -1 ) { if ( *(_BYTE *)(this + 529) ) { v3 = (GameLevelManager *)GameLevelManager::sharedState((GameLevelManager *)this); this = GameLevelManager::suggestLevelStars( v3, *(const char **)(v2 + 540), *(_DWORD *)(v2 + 544), *(_DWORD *)(v2 + 564), 0, 0); if ( this ) { *(_DWORD *)(GameLevelManager::sharedState((GameLevelManager *)this) + 888) = v2 + 524; v4 = *(_DWORD *)(v2 + 556); if ( v4 ) *(_DWORD *)(v4 + 520) = 0; memset(v7, 0, sizeof(v7)); std::string::__init(v7, "Sending rating...", 0x11u); *(_DWORD *)(v2 + 556) = UploadActionPopup::create(v2 + 520, v7); std::string::~string((int)v7); return (*(int (__fastcall **)(_DWORD))(**(_DWORD **)(v2 + 556) + 656))(*(_DWORD *)(v2 + 556)); } } else { v5 = (GameLevelManager *)RateStarsLayer::onClose( (RateStarsLayer *)this, (cocos2d::CCObject *)*(unsigned __int8 *)(this + 529)); v6 = (GameLevelManager *)GameLevelManager::sharedState(v5); return GameLevelManager::rateStars(v6, *(const char **)(v2 + 540), *(_DWORD *)(v2 + 544)); } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source