//
// SecretLayer2::updateMessageLabel from 0xa8aab8 to 0xa8ab04 (76 bytes)
//
// 21 xrefs:
// > SecretLayer2::init @ 0xa9061c
// > SecretLayer2::onSubmit @ 0xa912e4
// > SecretLayer2::onSubmit @ 0xa914e0
// > SecretLayer2::onSubmit @ 0xa91598
// > SecretLayer2::onSubmit @ 0xa91678
// > SecretLayer2::onSubmit @ 0xa917c4
// > SecretLayer2::onSubmit @ 0xa918a0
// > SecretLayer2::onSubmit @ 0xa91958
// > SecretLayer2::onSubmit @ 0xa91a84
// > SecretLayer2::onSubmit @ 0xa91b3c
// > SecretLayer2::onSubmit @ 0xa91be8
// > SecretLayer2::onSubmit @ 0xa91c94
// > SecretLayer2::onSubmit @ 0xa91d38
// > SecretLayer2::onSubmit @ 0xa91ea4
// > SecretLayer2::onSubmit @ 0xa91f7c
// > SecretLayer2::onSubmit @ 0xa91fbc
// > SecretLayer2::onSubmit @ 0xa920dc
// > SecretLayer2::onSubmit @ 0xa92200
// > SecretLayer2::onSubmit @ 0xa9228c
// > SecretLayer2::onSubmit @ 0xa922ec
// > ??> @ 0xb3278
//
// 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 13:00:37 +0000
//
__int64 __fastcall SecretLayer2::updateMessageLabel(__int64 a1, char *a2)
{
__int64 v4; // x0
char *v5; // x1
char v6; // t1
v4 = *(_QWORD *)(a1 + 464);
v6 = *a2;
v5 = a2 + 1;
if ( (v6 & 1) != 0 )
v5 = *((char **)a2 + 2);
(*(void (__fastcall **)(__int64, char *, char *))(*(_QWORD *)v4 + 928LL))(v4, v5, a2);
return cocos2d::CCLabelBMFont::limitLabelWidth(*(cocos2d::CCLabelBMFont **)(a1 + 464), 320.0, 0.6, 0.0);
}