//
// SecretLayer2::updateMessageLabel from 0x1003a7190 to 0x1003a71e0 (80 bytes)
//
// 20 xrefs:
// > SecretLayer2::init @ 0x1003a6950
// > SecretLayer2::onSubmit @ 0x1003a7748
// > SecretLayer2::onSubmit @ 0x1003a782c
// > SecretLayer2::onSubmit @ 0x1003a7940
// > SecretLayer2::onSubmit @ 0x1003a7990
// > SecretLayer2::onSubmit @ 0x1003a7a64
// > SecretLayer2::onSubmit @ 0x1003a7b58
// > SecretLayer2::onSubmit @ 0x1003a7c18
// > SecretLayer2::onSubmit @ 0x1003a7ce8
// > SecretLayer2::onSubmit @ 0x1003a7db8
// > SecretLayer2::onSubmit @ 0x1003a7e88
// > SecretLayer2::onSubmit @ 0x1003a7f58
// > SecretLayer2::onSubmit @ 0x1003a8050
// > SecretLayer2::onSubmit @ 0x1003a80e4
// > SecretLayer2::onSubmit @ 0x1003a81b8
// > SecretLayer2::onSubmit @ 0x1003a8218
// > SecretLayer2::onSubmit @ 0x1003a8278
// > SecretLayer2::onSubmit @ 0x1003a82dc
// > SecretLayer2::onSubmit @ 0x1003a8340
// > SecretLayer2::onSubmit @ 0x1003a8370
//
// This function is hookable on this platform (idp: arm, 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:03:49 +0000
//
__int64 __fastcall SecretLayer2::updateMessageLabel(__int64 a1, __int64 *a2)
{
__int64 v3; // x0
v3 = *(_QWORD *)(a1 + 464);
if ( *((char *)a2 + 23) < 0 )
a2 = (__int64 *)*a2;
(*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v3 + 928LL))(v3, a2);
return cocos2d::CCLabelBMFont::limitLabelWidth(*(_QWORD *)(a1 + 464), 320.0, 0.6, 0.0);
}