//
// SecretLayer::updateMessageLabel from 0x1006d2380 to 0x1006d23cc (76 bytes)
//
// 13 xrefs:
// > SecretLayer::onSubmit @ 0x1006d2f73
// > SecretLayer::onSubmit @ 0x1006d320c
// > SecretLayer::onSubmit @ 0x1006d32b2
// > SecretLayer::onSubmit @ 0x1006d3358
// > SecretLayer::onSubmit @ 0x1006d33fe
// > SecretLayer::onSubmit @ 0x1006d34ad
// > SecretLayer::onSubmit @ 0x1006d3557
// > SecretLayer::onSubmit @ 0x1006d3612
// > SecretLayer::onSubmit @ 0x1006d3682
// > SecretLayer::onSubmit @ 0x1006d36f3
// > SecretLayer::onSubmit @ 0x1006d3763
// > SecretLayer::onSubmit @ 0x1006d37d4
// > SecretLayer::onSubmit @ 0x1006d3883
//
// This function is hookable on this platform (idp: pc, 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 12:35:39 +0000
//
__int64 __fastcall SecretLayer::updateMessageLabel(__int64 a1, __int64 a2)
{
__int64 v3; // rdi
__int64 v4; // rsi
v3 = *(_QWORD *)(a1 + 456);
if ( (*(_BYTE *)a2 & 1) != 0 )
v4 = *(_QWORD *)(a2 + 16);
else
v4 = a2 + 1;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 928LL))(v3, v4);
return cocos2d::CCLabelBMFont::limitLabelWidth(*(_QWORD *)(a1 + 456), 320.0, (__m128)0x3F19999Au, (__m128)0LL);
}