// // cocos2d::CCLabelBMFont::setOpacity from 0x1002fc128 to 0x1002fc1bc (148 bytes) // // 3 xrefs: // > sub_1002FC1BC @ 0x1002fc1c0 // > @ 0x10076ce20 // > @ 0x1007e9ed8 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall cocos2d::CCLabelBMFont::setOpacity(cocos2d::CCLabelBMFont *a1, unsigned __int8 a2) { cocos2d::CCNode *m_pParent; // x0 void *v4; // x0 void *v5; // x20 __int64 v6; // x1 a1->m_cRealOpacity = a2; a1->m_cDisplayedOpacity = a2; if ( a1->m_bCascadeOpacityEnabled ) { m_pParent = a1->m_pParent; if ( m_pParent && (v4 = __dynamic_cast( m_pParent, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode, (const struct __class_type_info *)&off_100770F10, -2)) != nullptr && (v5 = v4, (*(unsigned int (__fastcall **)(void *))(*(_QWORD *)v4 + 88LL))(v4)) ) { v6 = (*(__int64 (__fastcall **)(void *))(*(_QWORD *)v5 + 24LL))(v5); } else { v6 = 255; } ((void (__fastcall *)(cocos2d::CCLabelBMFont *, __int64))a1->updateDisplayedOpacity)(a1, v6); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source