// // EditLevelLayer::uploadActionFinished from 0x6de980 to 0x6deb3c (444 bytes) // // 3 xrefs: // > `non-virtual thunk to'EditLevelLayer::uploadActionFinished @ 0x6deb40 // > @ 0x2fcd0 // > @ 0x115be28 // // 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 EditLevelLayer::uploadActionFinished(EditLevelLayer *a1, int a2, int a3) { GJGameLevel *m_level; // x0 UploadActionPopup *m_descriptionPopup; // x21 void *v6; // x0 char *v7; // x1 char *v8; // x0 unsigned int *v9; // x1 int v10; // w2 unsigned int *v11; // x1 int v12; // w2 char *v13; // [xsp+48h] [xbp+48h] BYREF __int64 v14; // [xsp+50h] [xbp+50h] BYREF m_level = a1->m_level; if ( m_level && a2 == m_level->m_levelID.random - m_level->m_levelID.seed && a1->m_descriptionPopup ) { sub_D153B8((int)&v13, "Description updated!"); m_descriptionPopup = a1->m_descriptionPopup; sub_D153B8((int)&v14, v13); UploadActionPopup::showSuccessMessage(m_descriptionPopup, (std::string)&v14); v6 = (void *)(v14 - 24); if ( (__int64 *)(v14 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v11 = (unsigned int *)(v14 - 8); do v12 = __ldaxr(v11); while ( __stlxr(v12 - 1, v11) ); } else { v12 = *(_DWORD *)(v14 - 8); *(_DWORD *)(v14 - 8) = v12 - 1; } if ( v12 <= 0 ) operator delete(v6); } v7 = v13; a1->m_descriptionPopup->m_delegate = nullptr; v8 = v7 - 24; a1->m_descriptionPopup = nullptr; if ( v7 - 24 != (char *)&qword_124B6B0 ) { if ( &pthread_create ) { v9 = (unsigned int *)(v7 - 8); do v10 = __ldaxr(v9); while ( __stlxr(v10 - 1, v9) ); } else { v10 = *((_DWORD *)v7 - 2); *((_DWORD *)v7 - 2) = v10 - 1; } if ( v10 <= 0 ) operator delete(v8); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source