// // RateDemonLayer::selectRating from 0xa83edc to 0xa84000 (292 bytes) // // 4 xrefs: // > RateDemonLayer::init @ 0xa8476c // > @ 0x4bd30 // > RateDemonLayer::init @ 0xa845c0 // > @ 0x1541858 // // 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:00:33 +0000 // __int64 __fastcall RateDemonLayer::selectRating(RateDemonLayer *this, cocos2d::CCObject *a2) { unsigned int i; // w19 __int64 v4; // x20 __int64 v5; // x22 __int64 (*v6)(void); // x1 _QWORD *v7; // x0 __int64 v8; // x1 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); (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 64LL))(v4); (*(void (**)(void))(*(_QWORD *)v5 + 960LL))(); } v6 = *(__int64 (**)(void))(**((_QWORD **)this + 86) + 1072LL); if ( *((_DWORD *)this + 179) == -1 ) { v7 = (_QWORD *)v6(); v8 = 10921638; } else { v7 = (_QWORD *)v6(); v8 = 0xFFFFFF; } return ButtonSprite::setColor(v7, v8); }
GD Web Decomp Icon

GD Web Decomp

Raw Source