//
// SecretLayer::updateMessageLabel from 0x1005fb580 to 0x1005fb5cc (76 bytes)
//
// 13 xrefs:
// > SecretLayer::onSubmit @ 0x1005fc173
// > SecretLayer::onSubmit @ 0x1005fc40c
// > SecretLayer::onSubmit @ 0x1005fc4b2
// > SecretLayer::onSubmit @ 0x1005fc558
// > SecretLayer::onSubmit @ 0x1005fc5fe
// > SecretLayer::onSubmit @ 0x1005fc6ad
// > SecretLayer::onSubmit @ 0x1005fc757
// > SecretLayer::onSubmit @ 0x1005fc812
// > SecretLayer::onSubmit @ 0x1005fc882
// > SecretLayer::onSubmit @ 0x1005fc8f3
// > SecretLayer::onSubmit @ 0x1005fc963
// > SecretLayer::onSubmit @ 0x1005fc9d4
// > SecretLayer::onSubmit @ 0x1005fca83
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __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 + 912LL))(v3, v4);
cocos2d::CCLabelBMFont::limitLabelWidth(*(cocos2d::CCLabelBMFont **)(a1 + 456), 320.0, 0.60000002, 0.0);
}