// // cocos2d::CCNodeRGBA::updateDisplayedOpacity from 0xd3d8e0 to 0xd3d9b0 (208 bytes) // // 26 xrefs: // > cocos2d::extension::CCScale9Sprite::updateDisplayedOpacity @ 0xd14e88 // > `non-virtual thunk to'cocos2d::CCNodeRGBA::updateDisplayedOpacity @ 0xd3d9bc // > cocos2d::CCSprite::updateDisplayedOpacity @ 0xd88434 // > @ 0x5cf80 // > @ 0x1416b48 // > @ 0x1417068 // > @ 0x141dbf8 // > @ 0x1431458 // > @ 0x1463188 // > @ 0x146e048 // > @ 0x14880a8 // > @ 0x14e17a8 // > @ 0x1515898 // > @ 0x1516178 // > @ 0x1516d68 // > @ 0x15175b8 // > @ 0x1524a18 // > @ 0x1524ef8 // > @ 0x15253d8 // > @ 0x1525898 // > @ 0x1525d78 // > @ 0x1526278 // > @ 0x1526778 // > @ 0x1527058 // > @ 0x1527548 // > @ 0x15317e8 // // 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 13:07:28 +0000 // __int64 __fastcall cocos2d::CCNodeRGBA::updateDisplayedOpacity(cocos2d::CCNodeRGBA *this, unsigned __int8 a2) { int v3; // w2 __int64 result; // x0 unsigned int *v5; // x1 __int64 *v6; // x19 __int64 *v7; // x21 cocos2d::CCNodeRGBA *v8; // x20 v3 = *((unsigned __int8 *)this + 329); result = *((unsigned __int8 *)this + 337); *((_BYTE *)this + 328) = (unsigned int)((double)(v3 * a2) / 255.0); if ( (_DWORD)result ) { result = *((_QWORD *)this + 26); if ( result ) { v5 = *(unsigned int **)(result + 56); result = *v5; if ( (_DWORD)result ) { v6 = *((__int64 **)v5 + 2); v7 = &v6[(unsigned int)result - 1]; if ( v6 <= v7 ) { result = *v6; if ( *v6 ) { v8 = this; do { result = (__int64)_dynamic_cast( (const void *)result, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol, -2); if ( result ) result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)result + 104LL))( result, *((unsigned __int8 *)v8 + 328)); if ( v7 < ++v6 ) break; result = *v6; } while ( *v6 ); } } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source