//
// SecretLayer2::updateMessageLabel from 0x14057cfb0 to 0x14057d032 (130 bytes)
//
// 21 xrefs:
// > SecretLayer2::init @ 0x140578975
// > SecretLayer2::onSubmit @ 0x14057b333
// > SecretLayer2::onSubmit @ 0x14057b67a
// > SecretLayer2::onSubmit @ 0x14057bbb4
// > SecretLayer2::onSubmit @ 0x14057bf66
// > SecretLayer2::onSubmit @ 0x14057c05c
// > SecretLayer2::onSubmit @ 0x14057c192
// > SecretLayer2::onSubmit @ 0x14057c24f
// > SecretLayer2::onSubmit @ 0x14057c30c
// > SecretLayer2::onSubmit @ 0x14057c3ab
// > SecretLayer2::onSubmit @ 0x14057c434
// > SecretLayer2::onSubmit @ 0x14057c5ee
// > SecretLayer2::onSubmit @ 0x14057c644
// > SecretLayer2::onSubmit @ 0x14057c6e9
// > SecretLayer2::onSubmit @ 0x14057c9ae
// > SecretLayer4::init @ 0x140585df8
// > SecretLayer4::onSubmit @ 0x140586f10
// > SecretLayer4::onSubmit @ 0x14058793c
// > SecretLayer4::onSubmit @ 0x140587a1a
// > SecretLayer4::onSubmit @ 0x140587a57
// > ??> @ 0x14092c8ac
//
// 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 11:34:25 +0000
//
// Merged with: SecretLayer2::updateMessageLabel, SecretLayer4::updateMessageLabel
void __fastcall SecretLayer2::updateMessageLabel(__int64 a1, _QWORD *a2)
{
__int64 v2; // rbx
v2 = (__int64)a2;
if ( a2[3] > 0xFu )
a2 = (_QWORD *)*a2;
(**(void (__fastcall ***)(__int64, _QWORD *))(*(_QWORD *)(a1 + 464) + 360LL))(*(_QWORD *)(a1 + 464) + 360LL, a2);
cocos2d::CCLabelBMFont::limitLabelWidth(*(cocos2d::CCLabelBMFont **)(a1 + 464), 320.0, 0.60000002, 0.0);
sub_14003D310(v2);
}