// // cocos2d::CCLabelBMFont::setOpacity from 0x1005d9bf0 to 0x1005d9c84 (148 bytes) // // 2 xrefs: // > @ 0x10095dfc8 // > @ 0x1009744b0 // // 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) { unsigned __int8 v2; // bl void *v3; // rax void *v4; // r14 a1->m_cRealOpacity = a2; a1->m_cDisplayedOpacity = a2; if ( a1->m_bCascadeOpacityEnabled ) { v2 = -1; if ( a1->m_pParent ) { v3 = __dynamic_cast( a1->m_pParent, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol, -2); if ( v3 ) { v4 = v3; if ( (*(unsigned __int8 (__fastcall **)(void *))(*(_QWORD *)v3 + 88LL))(v3) ) v2 = (*(__int64 (__fastcall **)(void *))(*(_QWORD *)v4 + 24LL))(v4); } } ((void (__fastcall *)(cocos2d::CCLabelBMFont *, _QWORD))a1->updateDisplayedOpacity)(a1, v2); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source