// // EditorUI::windowClosed from 0x481158 to 0x48123e (230 bytes) // // 1 xrefs: // > EditorWindowPopup::onClose @ 0x78d304 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:49:22 +0000 // void __fastcall EditorUI::windowClosed(EditorUI *this, EditorWindowPopup *a2) { EditorWindowPopup **i; // r4 unsigned int v4; // r6 unsigned int v5; // r11 unsigned int v6; // r0 int v7; // r8 int v8; // r5 int v9; // r9 EditorWindowPopup **j; // r10 EditorWindowPopup *v11; // r0 int v12; // r1 unsigned int v13; // r0 int v14; // r1 unsigned int v15; // r0 int v16; // r1 EditorWindowPopup *v17; // [sp+0h] [bp-Ch] for ( i = *((EditorWindowPopup ***)this + 111); i; i = (EditorWindowPopup **)*i ) { if ( i[3] == a2 ) { v4 = *((_DWORD *)this + 110); v5 = v4 - 1; v6 = (unsigned int)i[1]; v7 = (v4 - 1) & v4; v17 = *i; if ( v7 ) v8 = v6 % v4; else v8 = v5 & v6; v9 = *((_DWORD *)this + 109); for ( j = *(EditorWindowPopup ***)(v9 + 4 * v8); *j != (EditorWindowPopup *)i; j = (EditorWindowPopup **)*j ) ; if ( j == (EditorWindowPopup **)((char *)this + 444) || ((v11 = j[1], v7) ? (v12 = (unsigned int)v11 % v4) : (v12 = v5 & (unsigned int)v11), v12 != v8) ) { if ( !v17 || ((v13 = *((_DWORD *)v17 + 1), v7) ? (v14 = v13 % v4) : (v14 = v5 & v13), v14 != v8) ) *(_DWORD *)(v9 + 4 * v8) = 0; } if ( *i ) { v15 = *((_DWORD *)*i + 1); if ( v7 ) v16 = v15 % v4; else v16 = v5 & v15; if ( v16 != v8 ) *(_DWORD *)(*((_DWORD *)this + 109) + 4 * v16) = j; } *j = *i; *i = nullptr; --*((_DWORD *)this + 112); operator delete(i); return; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source