// // RateStarsModLayer::selectRating from 0xcfcd5c to 0xcfce88 (300 bytes) // // 4 xrefs: // > RateStarsModLayer::init @ 0xcfd834 // > @ 0x52498 // > RateStarsModLayer::init @ 0xcfd360 // > @ 0x1541c70 // // 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::selectRating(RateStarsModLayer *this, cocos2d::CCObject *a2) { unsigned int i; // w19 __int64 v4; // x20 __int64 v5; // x22 __int64 v6; // x1 __int64 v7; // x0 bool v8; // zf const char *v9; // x1 ButtonSprite *v10; // x0 __int64 (*v11)(void); // x1 _QWORD *v12; // x0 _QWORD *v14; // x0 if ( a2 ) *((_DWORD *)this + 179) = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2); else *((_DWORD *)this + 179) = -1; for ( i = 0; i < (unsigned int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 87)); ++i ) { v4 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 87), i); v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 1072LL))(v4); v6 = *(_QWORD *)v4; v7 = v4; LODWORD(v4) = *((_DWORD *)this + 179); v8 = (_DWORD)v4 == (*(unsigned int (__fastcall **)(__int64))(v6 + 64))(v7); v9 = "GJ_button_04.png"; v10 = (ButtonSprite *)v5; if ( v8 ) { v10 = (ButtonSprite *)v5; v9 = "GJ_button_01.png"; } ButtonSprite::updateBGImage(v10, v9); } v11 = *(__int64 (**)(void))(**((_QWORD **)this + 86) + 1072LL); if ( *((_DWORD *)this + 179) == -1 ) { v14 = (_QWORD *)v11(); ButtonSprite::setColor(v14, 10921638); } else { v12 = (_QWORD *)v11(); ButtonSprite::setColor(v12, 0xFFFFFF); } if ( *((_DWORD *)this + 179) != 10 ) *((_DWORD *)this + 189) = 0; RateStarsModLayer::updateDSprite(this); return RateStarsModLayer::updateDemonRow(this); }
GD Web Decomp Icon

GD Web Decomp

Raw Source