// // cocos2d::CCLabelBMFont::updateDisplayedColor from 0xd54fe8 to 0xd550c0 (216 bytes) // // 4 xrefs: // > `non-virtual thunk to'cocos2d::CCLabelBMFont::updateDisplayedColor @ 0xd550cc // > @ 0x48430 // > @ 0x1415348 // > @ 0x15187b8 // // 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 13:07:43 +0000 // __int64 __fastcall cocos2d::CCLabelBMFont::updateDisplayedColor(__int64 result, unsigned __int8 *a2) { int v2; // w3 int v3; // w2 __int64 v4; // x5 unsigned int *v5; // x2 __int64 *v6; // x19 __int64 v7; // x1 char *v8; // x21 __int64 v9; // x20 __int64 i; // x20 v2 = *(unsigned __int8 *)(result + 486); v3 = *(unsigned __int8 *)(result + 487); v4 = *(_QWORD *)(result + 208); *(_BYTE *)(result + 482) = (unsigned int)((double)(*(unsigned __int8 *)(result + 485) * *a2) / 255.0); *(_BYTE *)(result + 483) = (unsigned int)((double)(v2 * a2[1]) / 255.0); *(_BYTE *)(result + 484) = (unsigned int)((double)(v3 * a2[2]) / 255.0); if ( v4 ) { v5 = *(unsigned int **)(v4 + 56); if ( *v5 ) { v6 = *((__int64 **)v5 + 2); v7 = 8LL * *v5 - 8; v8 = (char *)v6 + v7; if ( v6 <= (__int64 *)((char *)v6 + v7) ) { v9 = result; result = *v6; for ( i = v9 + 482; *v6; result = *v6 ) { ++v6; result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)result + 968LL))(result, i); if ( v8 < (char *)v6 ) break; } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source