// // cocos2d::CCNodeRGBA::updateDisplayedColor from 0x100261ba0 to 0x100261cb6 (278 bytes) // // 25 xrefs: // > cocos2d::CCSprite::updateDisplayedColor @ 0x1002760a9 // > cocos2d::extension::CCScale9Sprite::updateDisplayedColor @ 0x1003e322d // > sub_1003E3250 @ 0x1003e326a // > @ 0x100ab6990 // > @ 0x100ab9ce8 // > @ 0x100ae56e8 // > @ 0x100aeff50 // > @ 0x100af5640 // > @ 0x100af5b20 // > @ 0x100b14618 // > @ 0x100b1cc58 // > @ 0x100b33ba8 // > @ 0x100b34068 // > @ 0x100b34560 // > @ 0x100b34a58 // > @ 0x100b34f68 // > @ 0x100b35490 // > @ 0x100b35988 // > @ 0x100b72d48 // > @ 0x100b73258 // > @ 0x100b7fb78 // > @ 0x100b923b8 // > @ 0x100b954d0 // > @ 0x100b95968 // > @ 0x100ba2b10 // // 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:27:31 +0000 // __int64 __fastcall cocos2d::CCNodeRGBA::updateDisplayedColor(__int64 a1, unsigned __int8 *a2) { __int64 result; // rax const void **v3; // r12 unsigned __int64 v4; // r13 *(_BYTE *)(a1 + 330) = (int)((double)(*(unsigned __int8 *)(a1 + 333) * *a2) / 255.0); *(_BYTE *)(a1 + 331) = (int)((double)(*(unsigned __int8 *)(a1 + 334) * a2[1]) / 255.0); result = (unsigned int)(int)((double)(*(unsigned __int8 *)(a1 + 335) * a2[2]) / 255.0); *(_BYTE *)(a1 + 332) = result; if ( *(_BYTE *)(a1 + 336) == 1 ) { result = *(_QWORD *)(a1 + 208); if ( result ) { result = *(_QWORD *)(result + 56); if ( *(_DWORD *)result ) { v3 = *(const void ***)(result + 16); v4 = (unsigned __int64)&v3[*(unsigned int *)result - 1]; do { if ( !*v3 ) break; result = (__int64)__dynamic_cast( *v3, (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, a1 + 330); ++v3; } while ( (unsigned __int64)v3 <= v4 ); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source