// // cocos2d::CCNodeRGBA::updateDisplayedColor from 0xd3dc50 to 0xd3dd58 (264 bytes) // // 26 xrefs: // > cocos2d::extension::CCScale9Sprite::updateDisplayedColor @ 0xd14ec8 // > `non-virtual thunk to'cocos2d::CCNodeRGBA::updateDisplayedColor @ 0xd3dd64 // > cocos2d::CCSprite::updateDisplayedColor @ 0xd88408 // > @ 0x887c8 // > @ 0x1416b78 // > @ 0x1417098 // > @ 0x141dc28 // > @ 0x1431488 // > @ 0x14631b8 // > @ 0x146e078 // > @ 0x14880d8 // > @ 0x14e17d8 // > @ 0x15158c8 // > @ 0x15161a8 // > @ 0x1516d98 // > @ 0x15175e8 // > @ 0x1524a48 // > @ 0x1524f28 // > @ 0x1525408 // > @ 0x15258c8 // > @ 0x1525da8 // > @ 0x15262a8 // > @ 0x15267a8 // > @ 0x1527088 // > @ 0x1527578 // > @ 0x1531818 // // 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::updateDisplayedColor(__int64 a1, unsigned __int8 *a2) { int v3; // w4 int v4; // w0 int v5; // w3 int v6; // w5 __int64 result; // x0 unsigned int *v8; // x1 __int64 *v9; // x19 __int64 *v10; // x21 __int64 v11; // x20 v3 = *(unsigned __int8 *)(a1 + 333); v4 = *(unsigned __int8 *)(a1 + 334); v5 = *(unsigned __int8 *)(a1 + 335); v6 = *(unsigned __int8 *)(a1 + 336); *(_BYTE *)(a1 + 330) = (unsigned int)((double)(v3 * *a2) / 255.0); *(_BYTE *)(a1 + 331) = (unsigned int)((double)(v4 * a2[1]) / 255.0); result = (unsigned int)((double)(v5 * a2[2]) / 255.0); *(_BYTE *)(a1 + 332) = result; if ( v6 ) { result = *(_QWORD *)(a1 + 208); if ( result ) { v8 = *(unsigned int **)(result + 56); result = *v8; if ( (_DWORD)result ) { v9 = *((__int64 **)v8 + 2); v10 = &v9[(unsigned int)result - 1]; if ( v9 <= v10 ) { result = *v9; if ( *v9 ) { v11 = a1 + 330; 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, __int64))(*(_QWORD *)result + 80LL))(result, v11); if ( v10 < ++v9 ) break; result = *v9; } while ( *v9 ); } } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source