//
// SecretLayer::updateMessageLabel from 0xa5e3d0 to 0xa5e41c (76 bytes)
//
// 20 xrefs:
// > SecretLayer::onSubmit @ 0xa605b8
// > SecretLayer::onSubmit @ 0xa607e4
// > SecretLayer::onSubmit @ 0xa608e4
// > SecretLayer::onSubmit @ 0xa609d4
// > SecretLayer::onSubmit @ 0xa60a98
// > SecretLayer::onSubmit @ 0xa60b48
// > SecretLayer::onSubmit @ 0xa60bf4
// > SecretLayer::onSubmit @ 0xa60d00
// > SecretLayer::onSubmit @ 0xa60db8
// > SecretLayer::onSubmit @ 0xa60ebc
// > SecretLayer::onSubmit @ 0xa60f40
// > SecretLayer::onSubmit @ 0xa60fe0
// > SecretLayer::onSubmit @ 0xa6110c
// > SecretLayer::onSubmit @ 0xa6120c
// > SecretLayer::onSubmit @ 0xa61298
// > SecretLayer::onSubmit @ 0xa61314
// > SecretLayer::onSubmit @ 0xa613cc
// > SecretLayer::onSubmit @ 0xa61458
// > SecretLayer::init @ 0xa61a80
// > ??> @ 0x51478
//
// 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:13 +0000
//
__int64 __fastcall SecretLayer::updateMessageLabel(__int64 a1, char *a2)
{
__int64 v4; // x0
char *v5; // x1
char v6; // t1
v4 = *(_QWORD *)(a1 + 456);
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 + 456), 320.0, 0.6, 0.0);
}