//
// SecretLayer4::updateMessageLabel from 0x620da4 to 0x620dd0 (44 bytes)
//
// 10 xrefs:
// > SecretLayer4::onSubmit @ 0x6226e2
// > SecretLayer4::onSubmit @ 0x62277e
// > SecretLayer4::onSubmit @ 0x622814
// > SecretLayer4::onSubmit @ 0x62287e
// > SecretLayer4::onSubmit @ 0x622916
// > SecretLayer4::onSubmit @ 0x622980
// > SecretLayer4::onSubmit @ 0x6229ec
// > SecretLayer4::onSubmit @ 0x622a9e
// > SecretLayer4::onSubmit @ 0x622ada
// > SecretLayer4::init @ 0x622f14
//
// 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:55:05 +0000
//
int __fastcall SecretLayer4::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);
}