// // GJPFollowCommandLayer::updateMaxSpeedLabel from 0x922dc0 to 0x922ef4 (308 bytes) // // 2 xrefs: // > GJPFollowCommandLayer::init @ 0x924328 // > @ 0xa88a0 // // 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 GJPFollowCommandLayer::updateMaxSpeedLabel(GJPFollowCommandLayer *a1) { float m_maxSpeed; // s0 const unsigned __int8 *v3; // x0 char *CString; // x1 CCTextInputNode *m_maxSpeedInput; // x22 unsigned __int8 *v6; // x0 cocos2d::CCString *v7; // x0 unsigned int *v8; // x2 int v9; // w1 const unsigned __int8 *v10[2]; // [xsp+40h] [xbp+40h] BYREF m_maxSpeed = a1->m_maxSpeed; v3 = (const unsigned __int8 *)_stack_chk_guard; a1->m_disableTextDelegate = (unsigned __int8)&dword_0 + 1; v10[1] = v3; if ( m_maxSpeed == -99999.0 ) { CString = &byte_F288A0; } else { v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%0.1f", (const char *)&dword_0 + 1, m_maxSpeed); CString = (char *)cocos2d::CCString::getCString(v7); } m_maxSpeedInput = a1->m_maxSpeedInput; sub_D153B8((int)v10, CString); CCTextInputNode::setString(m_maxSpeedInput, v10); v6 = (unsigned __int8 *)(v10[0] - 24); if ( (__int64 *)v10[0] - 3 != &qword_124B6B0 ) { if ( &pthread_create ) { v8 = (unsigned int *)(v10[0] - 8); do v9 = __ldaxr(v8); while ( __stlxr(v9 - 1, v8) ); } else { v9 = *((_DWORD *)v10[0] - 2); *((_DWORD *)v10[0] - 2) = v9 - 1; } if ( v9 <= 0 ) operator delete(v6); } a1->m_disableTextDelegate = 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source