//
// SecretLayer2::updateMessageLabel from 0x61a870 to 0x61a89c (44 bytes)
//
// 20 xrefs:
// > SecretLayer2::onSubmit @ 0x61e8d6
// > SecretLayer2::onSubmit @ 0x61e968
// > SecretLayer2::onSubmit @ 0x61eb00
// > SecretLayer2::onSubmit @ 0x61eb3c
// > SecretLayer2::onSubmit @ 0x61ebc8
// > SecretLayer2::onSubmit @ 0x61ece0
// > SecretLayer2::onSubmit @ 0x61ed5a
// > SecretLayer2::onSubmit @ 0x61edd4
// > SecretLayer2::onSubmit @ 0x61ee4c
// > SecretLayer2::onSubmit @ 0x61eeb6
// > SecretLayer2::onSubmit @ 0x61ef32
// > SecretLayer2::onSubmit @ 0x61efa6
// > SecretLayer2::onSubmit @ 0x61f058
// > SecretLayer2::onSubmit @ 0x61f0aa
// > SecretLayer2::onSubmit @ 0x61f0fc
// > SecretLayer2::onSubmit @ 0x61f14e
// > SecretLayer2::onSubmit @ 0x61f19c
// > SecretLayer2::onSubmit @ 0x61f1b0
// > SecretLayer2::onSubmit @ 0x61f2ba
// > SecretLayer2::init @ 0x61f648
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:54:59 +0000
//
int __fastcall SecretLayer2::updateMessageLabel(int a1, int a2)
{
int v3; // r0
int v4; // r1
v3 = *(_DWORD *)(a1 + 356);
if ( (*(_BYTE *)a2 & 1) != 0 )
v4 = *(_DWORD *)(a2 + 8);
else
v4 = a2 + 1;
(*(void (__fastcall **)(int, int))(*(_DWORD *)v3 + 464))(v3, v4);
return cocos2d::CCLabelBMFont::limitLabelWidth(*(cocos2d::CCLabelBMFont **)(a1 + 356), 320.0, 0.6, 0.0);
}