//
// SecretLayer5::updateMessageLabel from 0xbc480c to 0xbc4858 (76 bytes)
//
// 2 xrefs:
// > SecretLayer5::init @ 0xbc8250
// > ??> @ 0xd2f40
//
// 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:03:31 +0000
//
__int64 __fastcall SecretLayer5::updateMessageLabel(__int64 a1, char *a2)
{
__int64 v4; // x0
char *v5; // x1
char v6; // t1
v4 = *(_QWORD *)(a1 + 472);
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 + 472), 320.0, 0.6, 0.0);
}