// // GJFollowCommandLayer::updateYModLabel from 0x4dba74 to 0x4dbaf6 (130 bytes) // // 2 xrefs: // > GJFollowCommandLayer::init @ 0x4dc748 // > GJFollowCommandLayer::sliderYModChanged @ 0x4dcb66 // // 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 GJFollowCommandLayer::updateYModLabel(GJFollowCommandLayer *a1) { const char *v1; // r1 float m_yMod; // s15 cocos2d::CCString *v4; // r0 char *CString; // r1 CCTextInputNode *m_yModInput; // r7 char *v7; // r2 char v8[4]; // [sp+8h] [bp-Ch] BYREF m_yMod = a1->m_yMod; a1->m_disableTextDelegate = 1; if ( m_yMod == -99999.0 ) { CString = (char *)&unk_939830; } else { v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%0.2f", v1, m_yMod); CString = (char *)cocos2d::CCString::getCString(v4); } m_yModInput = a1->m_yModInput; sub_776584((int)v8, CString); CCTextInputNode::setString((int)m_yModInput, v8, v7); sub_774008(v8); a1->m_disableTextDelegate = 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source