// // SetFolderPopup::valueChanged from 0x8c516c to 0x8c5310 (420 bytes) // // 2 xrefs: // > @ 0xb99b8 // > @ 0x119bf70 // // 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 SetFolderPopup::valueChanged(SetFolderPopup *a1) { GameLevelManager *v2; // x0 char *v3; // x0 unsigned __int8 *v4; // x0 unsigned int *v5; // x1 int v6; // w2 unsigned int *v7; // x20 int v8; // w1 const unsigned __int8 *v9; // [xsp+48h] [xbp+48h] BYREF char *v10; // [xsp+50h] [xbp+50h] BYREF if ( a1->m_titleLabel ) { v2 = GameLevelManager::sharedState(); GameLevelManager::getFolderName(v2, (const char *)(unsigned int)a1->m_value, a1->m_isCreated, (__int64)&v10); sub_D153B8((int)&v9, v10); v3 = v10 - 24; if ( v10 - 24 != (char *)&qword_124B6B0 ) { if ( &pthread_create ) { v5 = (unsigned int *)(v10 - 8); do v6 = __ldaxr(v5); while ( __stlxr(v6 - 1, v5) ); } else { v6 = *((_DWORD *)v10 - 2); *((_DWORD *)v10 - 2) = v6 - 1; } if ( v6 <= 0 ) operator delete(v3); } a1->m_titleLabel->setString(a1->m_titleLabel, v9); v4 = (unsigned __int8 *)(v9 - 24); if ( v9 - 24 != (const unsigned __int8 *)&qword_124B6B0 ) { if ( &pthread_create ) { v7 = (unsigned int *)(v9 - 8); do v8 = __ldaxr(v7); while ( __stlxr(v8 - 1, v7) ); } else { v8 = *((_DWORD *)v9 - 2); *((_DWORD *)v9 - 2) = v8 - 1; } if ( v8 <= 0 ) operator delete(v4); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source