// // cocos2d::CCNodeRGBA::setOpacity from 0x7c3fd8 to 0x7c402e (86 bytes) // // 3 xrefs: // > cocos2d::CCAtlasNode::setOpacity @ 0x7c32c4 // > `non-virtual thunk to'cocos2d::CCNodeRGBA::setOpacity @ 0x7c403c // > cocos2d::CCSprite::setOpacity @ 0x7f216e // // 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 12:00:23 +0000 // int __fastcall cocos2d::CCNodeRGBA::setOpacity(int this, unsigned __int8 a2) { int v2; // r4 int v3; // r3 const void *v4; // r0 void *v5; // r0 void *v6; // r5 int v7; // r1 v2 = this; v3 = *(unsigned __int8 *)(this + 277); *(_BYTE *)(this + 269) = a2; *(_BYTE *)(this + 268) = a2; if ( v3 ) { v4 = *(const void **)(this + 196); if ( v4 && (v5 = _dynamic_cast( v4, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol, -2), (v6 = v5) != nullptr) && (*(int (__fastcall **)(void *))(*(_DWORD *)v5 + 44))(v5) ) { v7 = (*(int (__fastcall **)(void *))(*(_DWORD *)v6 + 12))(v6); } else { v7 = 255; } return (*(int (__fastcall **)(int, int))(*(_DWORD *)v2 + 460))(v2, v7); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source