//
// SecretLayer::updateMessageLabel from 0x5fca74 to 0x5fcaa0 (44 bytes)
//
// 19 xrefs:
// > SecretLayer::onSubmit @ 0x5fe0e8
// > SecretLayer::onSubmit @ 0x5fe1aa
// > SecretLayer::onSubmit @ 0x5fe230
// > SecretLayer::onSubmit @ 0x5fe2aa
// > SecretLayer::onSubmit @ 0x5fe324
// > SecretLayer::onSubmit @ 0x5fe3d2
// > SecretLayer::onSubmit @ 0x5fe44c
// > SecretLayer::onSubmit @ 0x5fe4c6
// > SecretLayer::onSubmit @ 0x5fe540
// > SecretLayer::onSubmit @ 0x5fe5c6
// > SecretLayer::onSubmit @ 0x5fe63a
// > SecretLayer::onSubmit @ 0x5fe6ae
// > SecretLayer::onSubmit @ 0x5fe6fc
// > SecretLayer::onSubmit @ 0x5fe74a
// > SecretLayer::onSubmit @ 0x5fe798
// > SecretLayer::onSubmit @ 0x5fe7e4
// > SecretLayer::onSubmit @ 0x5fe830
// > SecretLayer::onSubmit @ 0x5fe8a2
// > SecretLayer::init @ 0x5fef10
//
// 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:36 +0000
//
int __fastcall SecretLayer::updateMessageLabel(int a1, int a2)
{
int v3; // r0
int v4; // r1
v3 = *(_DWORD *)(a1 + 348);
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 + 348), 320.0, 0.6, 0.0);
}