// // cocos2d::CCNodeRGBA::setOpacity from 0x1002da190 to 0x1002da224 (148 bytes) // // 12 xrefs: // > cocos2d::CCSprite::setOpacity @ 0x1002d5c5c // > sub_1002DA224 @ 0x1002da228 // > @ 0x1008bb158 // > @ 0x1008bd638 // > @ 0x1008c1008 // > @ 0x1008defe0 // > @ 0x1008e5dd0 // > @ 0x1008f4ad0 // > @ 0x1008fe0f8 // > @ 0x10091b158 // > @ 0x1009219a8 // > @ 0x10093eea0 // // 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 11:02:44 +0000 // __int64 __fastcall cocos2d::CCNodeRGBA::setOpacity(__int64 result, char a2) { __int64 v2; // x19 const void *v3; // x0 void *v4; // x0 void *v5; // x20 __int64 v6; // x1 *(_BYTE *)(result + 329) = a2; *(_BYTE *)(result + 328) = a2; if ( *(_BYTE *)(result + 337) == 1 ) { v2 = result; v3 = *(const void **)(result + 216); if ( v3 && (v4 = __dynamic_cast( v3, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode, (const struct __class_type_info *)&off_1008BD768, -2)) != nullptr && (v5 = v4, (*(unsigned int (__fastcall **)(void *))(*(_QWORD *)v4 + 88LL))(v4)) ) { v6 = (*(__int64 (__fastcall **)(void *))(*(_QWORD *)v5 + 24LL))(v5); } else { v6 = 255; } return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 920LL))(v2, v6); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source