// // SetupMGTrigger::updateEasingLabel from 0xa1f808 to 0xa1f9d4 (460 bytes) // // 3 xrefs: // > SetupMGTrigger::init @ 0xa20b1c // > SetupMGTrigger::onEasing @ 0xa21024 // > @ 0x38058 // // 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 SetupMGTrigger::updateEasingLabel(SetupMGTrigger *a1) { GameToolbox *m_mgEasingType; // x0 void *v3; // x0 unsigned __int8 *v4; // x0 unsigned int *v5; // x1 int v6; // w2 unsigned int *v7; // x1 int v8; // w2 const unsigned __int8 *v9; // [xsp+48h] [xbp+48h] BYREF __int64 v10; // [xsp+50h] [xbp+50h] BYREF sub_D153B8((int)&v9, "Mixed"); m_mgEasingType = (GameToolbox *)(unsigned int)a1->m_mgEasingType; if ( (_DWORD)m_mgEasingType != -99999 ) { GameToolbox::easeToText(m_mgEasingType, (__int64)&v10); sub_D163D4(&v9, &v10); v3 = (void *)(v10 - 24); if ( (__int64 *)(v10 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v7 = (unsigned int *)(v10 - 8); do v8 = __ldaxr(v7); while ( __stlxr(v8 - 1, v7) ); } else { v8 = *(_DWORD *)(v10 - 8); *(_DWORD *)(v10 - 8) = v8 - 1; } if ( v8 <= 0 ) operator delete(v3); } } a1->m_mgEasingLabel->setString(a1->m_mgEasingLabel, v9); cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_mgEasingLabel, 150.0, 0.7, 0.0); v4 = (unsigned __int8 *)(v9 - 24); if ( v9 - 24 != (const unsigned __int8 *)&qword_124B6B0 ) { if ( &pthread_create ) { v5 = (unsigned int *)(v9 - 8); do v6 = __ldaxr(v5); while ( __stlxr(v6 - 1, v5) ); } else { v6 = *((_DWORD *)v9 - 2); *((_DWORD *)v9 - 2) = v6 - 1; } if ( v6 <= 0 ) operator delete(v4); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source