// // ColorChannelSprite::updateBlending from 0x5c239c to 0x5c2464 (200 bytes) // // 2 xrefs: // > ColorChannelSprite::updateValues @ 0x5c249c // > ColorChannelSprite::updateValues @ 0x5c24f6 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:53:50 +0000 // int __fastcall ColorChannelSprite::updateBlending(int this, int a2) { _DWORD *v2; // r4 int v4; // r3 int v5; // r0 int v6; // r3 int v7; // r8 void (__fastcall *v8)(int, _BYTE *); // r9 float v9; // s15 int v10; // r0 _BYTE v11[8]; // [sp+4h] [bp-10h] BYREF v2 = (_DWORD *)this; v4 = *(_DWORD *)(this + 516); if ( a2 || v4 ) { if ( !v4 ) { v5 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)&unk_B7AF60, "bigFont.fnt", _stack_chk_guard); v6 = *v2; v2[129] = v5; (*(void (__fastcall **)(_DWORD *, int))(v6 + 228))(v2, v5); v7 = v2[129]; v8 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v7 + 92); v9 = *(float *)(*(int (__fastcall **)(_DWORD *))(*v2 + 164))(v2); v10 = (*(int (__fastcall **)(_DWORD *))(*v2 + 164))(v2); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v11, (float)(v9 * 0.5) - 10.0, (float)(*(float *)(v10 + 4) * 0.5) + 12.0); v8(v7, v11); (*(void (__fastcall **)(_DWORD, float))(*(_DWORD *)v2[129] + 80))(v2[129], 0.5); } return (*(int (__fastcall **)(_DWORD, int))(*(_DWORD *)v2[129] + 172))(v2[129], a2); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source