// // cocos2d::CCNodeRGBA::updateDisplayedOpacity from 0x1002da22c to 0x1002da2ec (192 bytes) // // 18 xrefs: // > cocos2d::extension::CCScale9Sprite::updateDisplayedOpacity @ 0x1002b2c14 // > sub_1002B2C34 @ 0x1002b2c4c // > cocos2d::CCSprite::updateDisplayedOpacity @ 0x1002d5ef8 // > sub_1002D5F0C @ 0x1002d5f20 // > sub_1002DA2EC @ 0x1002da2f0 // > @ 0x1008bb160 // > @ 0x1008bd640 // > @ 0x1008c1010 // > @ 0x1008defe8 // > @ 0x1008e5dd8 // > @ 0x1008f4ad8 // > @ 0x1008f5e48 // > @ 0x1008fe100 // > @ 0x10091b160 // > @ 0x1009219b0 // > @ 0x10092b9a0 // > @ 0x10093eea8 // > @ 0x10096dbc8 // // 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 11:02:44 +0000 // _BYTE *__fastcall cocos2d::CCNodeRGBA::updateDisplayedOpacity(_BYTE *result, int a2) { _BYTE *v2; // x19 __int64 v3; // x8 unsigned int *v4; // x9 __int64 v5; // x8 void **v6; // x22 unsigned __int64 v7; // x23 result[328] = (int)((double)((unsigned int)(unsigned __int8)result[329] * a2) / 255.0); if ( result[337] == 1 ) { v2 = result; v3 = *((_QWORD *)result + 26); if ( v3 ) { v4 = *(unsigned int **)(v3 + 56); v5 = *v4; if ( (_DWORD)v5 ) { v6 = *((void ***)v4 + 2); v7 = (unsigned __int64)&v6[v5 - 1]; do { result = *v6; if ( !*v6 ) break; result = __dynamic_cast( result, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&off_1008BD768, -2); if ( result ) result = (_BYTE *)(*(__int64 (__fastcall **)(_BYTE *, _QWORD))(*(_QWORD *)result + 104LL))( result, (unsigned __int8)v2[328]); ++v6; } while ( (unsigned __int64)v6 <= v7 ); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source