//
// PlayLayer::updateTestModeLabel from 0x1000b2fe0 to 0x1000b3067 (135 bytes)
//
// 0 xrefs:
//
// 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 PlayLayer::updateTestModeLabel(PlayLayer *a1)
{
cocos2d::CCLabelBMFont *m_statusLabel; // rdi
bool m_isTestMode; // al
const char *v4; // rsi
m_statusLabel = a1->m_statusLabel;
if ( m_statusLabel )
{
m_isTestMode = 1;
if ( !a1->m_isIgnoreDamageEnabled )
m_isTestMode = a1->m_isTestMode;
((void (__fastcall *)(cocos2d::CCLabelBMFont *, bool))m_statusLabel->setVisible)(m_statusLabel, m_isTestMode);
if ( a1->m_ignoreDamage )
{
v4 = "Ignore Damage";
}
else if ( a1->m_isIgnoreDamageEnabled )
{
v4 = "Used Ignore Damage";
}
else
{
if ( !a1->m_isTestMode )
return;
v4 = "Testmode";
}
((void (__fastcall *)(cocos2d::CCLabelBMFont *, const char *))a1->m_statusLabel->setString)(a1->m_statusLabel, v4);
}
}