// // ColorChannelSprite::updateCopyLabel from 0x1002c36f0 to 0x1002c38a3 (435 bytes) // // 1 xrefs: // > ColorChannelSprite::updateValues @ 0x1002c3b31 // // This function is hookable on this platform (idp: pc, 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 12:28:06 +0000 // void __fastcall ColorChannelSprite::updateCopyLabel(_QWORD **a1, int a2, char a3) { _QWORD *v4; // rdi __int64 v6; // rax __int64 CString; // rax __int64 v8; // rax _QWORD *v9; // r15 __int64 v10; // rax void *v11; // rsi char v12; // [rsp+0h] [rbp-40h] float v13[2]; // [rsp+Ch] [rbp-34h] BYREF float v14; // [rsp+14h] [rbp-2Ch] v4 = a1[75]; if ( a2 ) { if ( v4 ) { if ( a2 <= 999 ) { LABEL_4: v6 = sub_10088E820("%i", v12); CString = cocos2d::CCString::getCString(v6); LABEL_9: (*(void (__fastcall **)(_QWORD *, __int64))(*a1[75] + 928LL))(a1[75], CString); cocos2d::CCLabelBMFont::limitLabelWidth(a1[75], 28.0, 0.5, 0.0); (*(void (__fastcall **)(_QWORD *, __int64))(*a1[75] + 344LL))(a1[75], 1); v11 = &unk_100A079B3; if ( a3 ) v11 = &unk_100A079B0; (*(void (__fastcall **)(_QWORD *, void *))(*a1[75] + 1072LL))(a1[75], v11); return; } } else { v8 = cocos2d::CCLabelBMFont::create_3(" ", "bigFont.fnt"); a1[75] = (_QWORD *)v8; ((void (__fastcall *)(_QWORD **, __int64, __int64))(*a1)[58])(a1, v8, 1); v9 = a1[75]; v14 = *(float *)((__int64 (__fastcall *)(_QWORD **))(*a1)[41])(a1) * 0.5; v10 = ((__int64 (__fastcall *)(_QWORD **))(*a1)[41])(a1); sub_100278250(v13, v14, (float)(*(float *)(v10 + 4) * 0.5) + 3.0); (*(void (__fastcall **)(_QWORD *, float *))(*v9 + 184LL))(v9, v13); (*(void (__fastcall **)(_QWORD *, float))(*a1[75] + 160LL))(a1[75], 0.5); if ( a2 <= 999 ) goto LABEL_4; } CString = GJSpecialColorSelect::textForColorIdx((unsigned int)a2); goto LABEL_9; } if ( v4 ) (*(void (__fastcall **)(_QWORD *, _QWORD))(*v4 + 344LL))(v4, 0); }