// // RateStarsModLayer::onRate from 0xcfcef0 to 0xcfd014 (292 bytes) // // 3 xrefs: // > @ 0x76450 // > RateStarsModLayer::init @ 0xcfd7ac // > @ 0x1542ff0 // // 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 13:06:52 +0000 // __int64 __fastcall RateStarsModLayer::onRate(RateStarsModLayer *this, cocos2d::CCObject *a2) { GameLevelManager *v3; // x0 unsigned int v4; // w5 GameLevelManager *v5; // x0 GameLevelManager *v6; // x0 __int64 v8; // x0 __int64 v9; // x0 char v10; // w1 unsigned int v11; // [xsp+38h] [xbp+38h] __int64 v12[2]; // [xsp+40h] [xbp+40h] BYREF void *v13; // [xsp+50h] [xbp+50h] v3 = (GameLevelManager *)*((unsigned int *)this + 179); if ( (_DWORD)v3 != -1 ) { v4 = 0; if ( (_DWORD)v3 == 10 ) v4 = *((_DWORD *)this + 189); v11 = v4; v5 = (GameLevelManager *)GameLevelManager::sharedState(v3); v6 = (GameLevelManager *)(unsigned __int8)GameLevelManager::suggestLevelStars( v5, (const char *)*((unsigned int *)this + 178), *((_DWORD *)this + 179), *((_DWORD *)this + 188), *((_BYTE *)this + 720), v11); if ( (_BYTE)v6 ) { *(_QWORD *)(GameLevelManager::sharedState(v6) + 1360) = (char *)this + 672; v8 = *((_QWORD *)this + 92); if ( v8 ) *(_QWORD *)(v8 + 664) = 0; v12[0] = 0; v12[1] = 0; v13 = nullptr; std::string::__init(v12, "Sending rating...", 0x11u); v9 = UploadActionPopup::create((__int64)this + 664, (char *)v12); v10 = v12[0]; *((_QWORD *)this + 92) = v9; if ( (v10 & 1) != 0 ) { operator delete(v13); v9 = *((_QWORD *)this + 92); } (*(void (__fastcall **)(__int64))(*(_QWORD *)v9 + 1312LL))(v9); } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source