//
// SecretLayer5::updateMessageLabel from 0x10046fa40 to 0x10046fa8c (76 bytes)
//
// 0 xrefs:
//
// 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:30:33 +0000
//
__int64 __fastcall SecretLayer5::updateMessageLabel(__int64 a1, __int64 a2)
{
__int64 v3; // rdi
__int64 v4; // rsi
v3 = *(_QWORD *)(a1 + 472);
if ( (*(_BYTE *)a2 & 1) != 0 )
v4 = *(_QWORD *)(a2 + 16);
else
v4 = a2 + 1;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 928LL))(v3, v4);
return cocos2d::CCLabelBMFont::limitLabelWidth(*(_QWORD *)(a1 + 472), 320.0, 0.60000002, 0.0);
}