// // AnimatedGameObject::setOpacity from 0x4e67c0 to 0x4e682e (110 bytes) // // 1 xrefs: // > `non-virtual thunk to'AnimatedGameObject::setOpacity @ 0x4e6832 // // 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:51:05 +0000 // unsigned int __fastcall AnimatedGameObject::setOpacity(AnimatedGameObject *this, unsigned __int8 a2) { int v3; // r5 unsigned int result; // r0 int v5; // r0 unsigned int v6; // r4 cocos2d::CCArray *v7; // r6 int v8; // r0 GameObject::setOpacity(this, a2); v3 = (*(int (__fastcall **)(AnimatedGameObject *))(*(_DWORD *)this + 448))(this); (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 319) + 456))(*((_DWORD *)this + 319), v3); result = *((_DWORD *)this + 320); if ( result ) { if ( *((_BYTE *)this + 884) ) v3 = 0; (*(void (__fastcall **)(unsigned int, int))(*(_DWORD *)result + 456))(result, v3); v5 = *((_DWORD *)this + 320); v6 = 0; v7 = (cocos2d::CCArray *)(*(int (__fastcall **)(int))(*(_DWORD *)v5 + 244))(v5); while ( 1 ) { result = cocos2d::CCArray::count(v7); if ( v6 >= result ) break; v8 = cocos2d::CCArray::objectAtIndex(v7, v6++); (*(void (__fastcall **)(int, int))(*(_DWORD *)v8 + 456))(v8, v3); } } return result; }