// // PlayLayer::updateTestModeLabel from 0x1403a7990 to 0x1403a7a1d (141 bytes) // // 7 xrefs: // > GameOptionsLayer::didToggle @ 0x1402a0a40 // > PlayLayer::init @ 0x1403a64c3 // > PlayLayer::setupHasCompleted @ 0x1403a7789 // > PlayLayer::resetLevel @ 0x1403b8f43 // > @ 0x140699080 // > @ 0x140699090 // > @ 0x1406d6b78 // // 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 PlayLayer::updateTestModeLabel(PlayLayer *a1) { _BOOL8 v1; // rdx cocos2d::CCLabelBMFont *m_statusLabel; // rcx const char *v4; // rdx m_statusLabel = a1->m_statusLabel; if ( m_statusLabel ) { if ( a1->m_isIgnoreDamageEnabled || a1->m_isTestMode ) LOBYTE(v1) = 1; else v1 = 0; m_statusLabel->setVisible(m_statusLabel, v1); if ( a1->m_ignoreDamage ) { v4 = (const char *)&qword_140551DB0; } else if ( a1->m_isIgnoreDamageEnabled ) { v4 = "Used Ignore Damage"; } else { if ( !a1->m_isTestMode ) return; v4 = "Testmode"; } a1->m_statusLabel->setString(&a1->m_statusLabel->cocos2d::CCLabelProtocol, v4); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source