// // RateDemonLayer::selectRating from 0x616078 to 0x61612a (178 bytes) // // 1 xrefs: // > RateDemonLayer::init @ 0x616444 // // 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:54:55 +0000 // int __fastcall RateDemonLayer::selectRating(RateDemonLayer *this, cocos2d::CCObject *a2) { unsigned int v3; // r5 int v4; // r0 int v5; // r8 int v6; // r0 int v7; // r10 int v8; // r7 char *v9; // r1 int (*v10)(void); // r3 _DWORD *v11; // r0 int v12; // r3 int v13; // r1 if ( a2 ) *((_DWORD *)this + 137) = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2); else *((_DWORD *)this + 137) = -1; v3 = 0; while ( v3 < cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 134)) ) { v4 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 134), v3++); v5 = v4; v6 = (*(int (__fastcall **)(int))(*(_DWORD *)v4 + 536))(v4); v7 = *((_DWORD *)this + 137); v8 = v6; if ( v7 == (*(int (__fastcall **)(int))(*(_DWORD *)v5 + 32))(v5) ) v9 = &byte_BEEB5F; else v9 = &byte_BEEB5C; (*(void (__fastcall **)(int, char *))(*(_DWORD *)v8 + 480))(v8, v9); } v10 = *(int (**)(void))(**((_DWORD **)this + 133) + 536); if ( *((_DWORD *)this + 137) == -1 ) { v11 = (_DWORD *)v10(); v12 = 42662; v13 = 166; } else { v11 = (_DWORD *)v10(); v12 = 0xFFFF; v13 = 255; } return ButtonSprite::setColor(v11, v12 | (v13 << 16)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source