// // cocos2d::CCLabelBMFont::updateDisplayedOpacity from 0xae2410 to 0xae24c8 (184 bytes) // // 4 xrefs: // > `non-virtual thunk to'cocos2d::CCLabelBMFont::updateDisplayedOpacity @ 0xae24d4 // > @ 0x81f90 // > @ 0x1137bc8 // > @ 0x1202df8 // // 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 cocos2d::CCLabelBMFont::updateDisplayedOpacity(cocos2d::CCLabelBMFont *a1, unsigned __int8 a2) { cocos2d::CCArray *m_pChildren; // x19 cocos2d::ccArray *data; // x3 cocos2d::CCObject **arr; // x19 cocos2d::CCObject **v5; // x20 cocos2d::CCObject *v7; // x0 cocos2d::CCObject **v8; // x19 cocos2d::CCObject *v9; // x0 m_pChildren = a1->m_pChildren; a1->m_cDisplayedOpacity = (unsigned int)((double)(a1->m_cRealOpacity * a2) / 255.0); if ( m_pChildren ) { data = m_pChildren->data; if ( data->num ) { arr = data->arr; v5 = &arr[data->num - 1]; if ( arr <= v5 ) { v7 = *arr; if ( *arr ) { v8 = arr + 1; ((void (__fastcall *)(cocos2d::CCObject *))v7->__vftable[11].isEqual)(v7); while ( v5 >= v8 ) { v9 = *v8; if ( !*v8 ) break; ++v8; v9->__vftable[11].isEqual(v9, (const cocos2d::CCObject *)a1->m_cDisplayedOpacity); } } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source