// // cocos2d::CCNodeRGBA::updateDisplayedOpacity from 0x100261830 to 0x1002618ea (186 bytes) // // 25 xrefs: // > cocos2d::CCSprite::updateDisplayedOpacity @ 0x1002761f9 // > cocos2d::extension::CCScale9Sprite::updateDisplayedOpacity @ 0x1003e31bc // > sub_1003E31E0 @ 0x1003e31f9 // > @ 0x100ab6960 // > @ 0x100ab9cb8 // > @ 0x100ae56b8 // > @ 0x100aeff20 // > @ 0x100af5610 // > @ 0x100af5af0 // > @ 0x100b145e8 // > @ 0x100b1cc28 // > @ 0x100b33b78 // > @ 0x100b34038 // > @ 0x100b34530 // > @ 0x100b34a28 // > @ 0x100b34f38 // > @ 0x100b35460 // > @ 0x100b35958 // > @ 0x100b72d18 // > @ 0x100b73228 // > @ 0x100b7fb48 // > @ 0x100b92388 // > @ 0x100b954a0 // > @ 0x100b95938 // > @ 0x100ba2ae0 // // 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::updateDisplayedOpacity(__int64 a1, int a2) { __int64 result; // rax const void **v3; // r12 unsigned __int64 v4; // r13 result = (unsigned int)(int)((double)(a2 * *(unsigned __int8 *)(a1 + 329)) / 255.0); *(_BYTE *)(a1 + 328) = result; if ( *(_BYTE *)(a1 + 337) == 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, _QWORD))(*(_QWORD *)result + 104LL))( result, *(unsigned __int8 *)(a1 + 328)); ++v3; } while ( (unsigned __int64)v3 <= v4 ); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source