//
// SecretLayer2::updateMessageLabel from 0x10049e050 to 0x10049e09c (76 bytes)
//
// 13 xrefs:
// > SecretLayer2::onSubmit @ 0x10049ef9c
// > SecretLayer2::onSubmit @ 0x10049f099
// > SecretLayer2::onSubmit @ 0x10049f17f
// > SecretLayer2::onSubmit @ 0x10049f265
// > SecretLayer2::onSubmit @ 0x10049f34b
// > SecretLayer2::onSubmit @ 0x10049f416
// > SecretLayer2::onSubmit @ 0x10049f4b9
// > SecretLayer2::onSubmit @ 0x10049f5a1
// > SecretLayer2::onSubmit @ 0x10049f63b
// > SecretLayer2::onSubmit @ 0x10049f6a9
// > SecretLayer2::onSubmit @ 0x10049f711
// > SecretLayer2::onSubmit @ 0x10049f779
// > SecretLayer2::onSubmit @ 0x10049f7ab
//
// 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 __fastcall SecretLayer2::updateMessageLabel(__int64 a1, __int64 a2)
{
__int64 v3; // rdi
__int64 v4; // rsi
v3 = *(_QWORD *)(a1 + 464);
if ( (*(_BYTE *)a2 & 1) != 0 )
v4 = *(_QWORD *)(a2 + 16);
else
v4 = a2 + 1;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 912LL))(v3, v4);
cocos2d::CCLabelBMFont::limitLabelWidth(*(cocos2d::CCLabelBMFont **)(a1 + 464), 320.0, 0.60000002, 0.0);
}