// // EditLevelLayer::uploadActionFinished from 0x1001fe6d0 to 0x1001fe809 (313 bytes) // // 2 xrefs: // > sub_1001FE850 @ 0x1001fe85c // > @ 0x1008da818 // // 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 __fastcall EditLevelLayer::uploadActionFinished(EditLevelLayer *a1, int a2, int a3) { GJGameLevel *m_level; // rax UploadActionPopup *m_descriptionPopup; // rbx size_t v5; // rax size_t v6; // r15 char *v7; // r12 size_t v8; // r13 void *v9[3]; // [rsp+8h] [rbp-58h] BYREF _QWORD __dst[2]; // [rsp+20h] [rbp-40h] BYREF void *__p; // [rsp+30h] [rbp-30h] m_level = a1->m_level; if ( !m_level ) return; if ( m_level->m_levelID.random - m_level->m_levelID.seed != a2 ) return; m_descriptionPopup = a1->m_descriptionPopup; if ( !m_descriptionPopup ) return; strcpy((char *)v9, "(Description updated!"); v5 = strlen((const char *)v9 + 1); if ( v5 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100006BF0(7.52030200518128e252); v6 = v5; if ( v5 >= 0x17 ) { v8 = 26; if ( (v5 | 7) != 0x17 ) v8 = (v5 | 7) + 1; v7 = (char *)operator new(v8); __p = v7; __dst[0] = v8 | 1; __dst[1] = v6; } else { LOBYTE(__dst[0]) = 2 * v5; v7 = (char *)__dst + 1; if ( !v5 ) goto LABEL_12; } memcpy(v7, (char *)v9 + 1, v6); LABEL_12: v7[v6] = 0; UploadActionPopup::showSuccessMessage(m_descriptionPopup, __dst); if ( (__dst[0] & 1) != 0 ) operator delete(__p); a1->m_descriptionPopup->m_delegate = nullptr; a1->m_descriptionPopup = nullptr; if ( ((__int64)v9[0] & 1) != 0 ) operator delete(v9[2]); }
GD Web Decomp Icon

GD Web Decomp

Raw Source