// // cocos2d::CCLabelBMFont::updateDisplayedColor from 0xae24d8 to 0xae25b0 (216 bytes) // // 4 xrefs: // > `non-virtual thunk to'cocos2d::CCLabelBMFont::updateDisplayedColor @ 0xae25bc // > @ 0x306f0 // > @ 0x1137bf8 // > @ 0x1202e28 // // 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::updateDisplayedColor(cocos2d::CCLabelBMFont *a1, const cocos2d::ccColor3B *a2) { int g; // w3 int b; // w2 cocos2d::CCArray *m_pChildren; // x5 cocos2d::ccArray *data; // x2 char *arr; // x19 __int64 v7; // x1 char *v8; // x21 __int64 v10; // x0 cocos2d::ccColor3B *i; // x20 g = a1->m_tRealColor.g; b = a1->m_tRealColor.b; m_pChildren = a1->m_pChildren; a1->m_tDisplayedColor.r = (unsigned int)((double)(a1->m_tRealColor.r * a2->r) / 255.0); a1->m_tDisplayedColor.g = (unsigned int)((double)(g * a2->g) / 255.0); a1->m_tDisplayedColor.b = (unsigned int)((double)(b * a2->b) / 255.0); if ( m_pChildren ) { data = m_pChildren->data; if ( data->num ) { arr = (char *)data->arr; v7 = 8LL * data->num - 8; v8 = &arr[v7]; if ( arr <= &arr[v7] ) { v10 = *(_QWORD *)arr; for ( i = &a1->m_tDisplayedColor; *(_QWORD *)arr; v10 = *(_QWORD *)arr ) { arr += 8; (*(void (__fastcall **)(__int64, cocos2d::ccColor3B *))(*(_QWORD *)v10 + 952LL))(v10, i); if ( v8 < arr ) break; } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source