// // cocos2d::CCLayerRGBA::setOpacity from 0x1004aad90 to 0x1004aae24 (148 bytes) // // 15 xrefs: // > cocos2d::extension::CCControlButton::setOpacity @ 0x10034099c // > sub_1003409F0 @ 0x100340a03 // > @ 0x100b14038 // > @ 0x100b1d810 // > @ 0x100b1e750 // > @ 0x100b1ee50 // > @ 0x100b1fe00 // > @ 0x100b235a8 // > @ 0x100b2d088 // > @ 0x100b2f5c0 // > @ 0x100b30e60 // > @ 0x100b544b0 // > @ 0x100b80310 // > @ 0x100b8a270 // > @ 0x100ba0a08 // // This function is hookable on this platform (idp: pc, 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 12:30:56 +0000 // __int64 __fastcall cocos2d::CCLayerRGBA::setOpacity(__int64 a1, char a2) { __int64 result; // rax unsigned __int8 v3; // bl void *v4; // rax void *v5; // r14 *(_BYTE *)(a1 + 417) = a2; *(_BYTE *)(a1 + 416) = a2; if ( *(_BYTE *)(a1 + 424) == 1 ) { v3 = -1; if ( *(_QWORD *)(a1 + 216) ) { v4 = __dynamic_cast( *(const void **)(a1 + 216), (const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol, -2); if ( v4 ) { v5 = v4; if ( (*(unsigned __int8 (__fastcall **)(void *))(*(_QWORD *)v4 + 88LL))(v4) ) v3 = (*(__int64 (__fastcall **)(void *))(*(_QWORD *)v5 + 24LL))(v5); } } return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1176LL))(a1, v3); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source