// // GJRotateCommandLayer::updateDegreesLabel from 0x926020 to 0x926264 (580 bytes) // // 3 xrefs: // > GJRotateCommandLayer::init @ 0x927aa4 // > GJRotateCommandLayer::sliderDegreesChanged @ 0x9286bc // > @ 0x2fe98 // // 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 GJRotateCommandLayer::updateDegreesLabel(GJRotateCommandLayer *a1) { float m_degrees; // s0 void *v3; // x0 CCTextInputNode *m_degreesInput; // x22 unsigned __int8 *v5; // x0 void *v6; // x0 unsigned int *v7; // x1 int v8; // w2 unsigned int *v9; // x1 int v10; // w2 unsigned int *v11; // x1 int v12; // w2 __int64 v13; // [xsp+50h] [xbp+50h] BYREF __int64 v14; // [xsp+58h] [xbp+58h] BYREF const unsigned __int8 *v15; // [xsp+60h] [xbp+60h] BYREF a1->m_disableTextChanged = 1; sub_D153B8((int)&v13, &byte_F288A0); m_degrees = a1->m_degrees; if ( m_degrees != -99999.0 ) { truncFloat2ToStr(m_degrees, (__int64)&v14); sub_D163D4(&v13, &v14); v3 = (void *)(v14 - 24); if ( (__int64 *)(v14 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v7 = (unsigned int *)(v14 - 8); do v8 = __ldaxr(v7); while ( __stlxr(v8 - 1, v7) ); } else { v8 = *(_DWORD *)(v14 - 8); *(_DWORD *)(v14 - 8) = v8 - 1; } if ( v8 <= 0 ) operator delete(v3); } } m_degreesInput = a1->m_degreesInput; sub_D18D28(&v15); CCTextInputNode::setString(m_degreesInput, &v15); v5 = (unsigned __int8 *)(v15 - 24); if ( v15 - 24 != (const unsigned __int8 *)&qword_124B6B0 ) { if ( &pthread_create ) { v9 = (unsigned int *)(v15 - 8); do v10 = __ldaxr(v9); while ( __stlxr(v10 - 1, v9) ); } else { v10 = *((_DWORD *)v15 - 2); *((_DWORD *)v15 - 2) = v10 - 1; } if ( v10 <= 0 ) operator delete(v5); } a1->m_disableTextChanged = 0; v6 = (void *)(v13 - 24); if ( (__int64 *)(v13 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v11 = (unsigned int *)(v13 - 8); do v12 = __ldaxr(v11); while ( __stlxr(v12 - 1, v11) ); } else { v12 = *(_DWORD *)(v13 - 8); *(_DWORD *)(v13 - 8) = v12 - 1; } if ( v12 <= 0 ) operator delete(v6); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source