// // SequenceTriggerGameObject::reorderTarget from 0x4e8ec4 to 0x4e8f38 (116 bytes) // // 1 xrefs: // > SetupSequenceTriggerPopup::onChangeOrder @ 0x6bc3b6 // // 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:51:07 +0000 // int __fastcall SequenceTriggerGameObject::reorderTarget(SequenceTriggerGameObject *this, int a2, int a3) { int v3; // r4 int v4; // r3 int v5; // r0 int v7; // r4 int *v8; // r6 int *v9; // r4 int v10; // r1 int v11; // r2 int v12; // r3 int v13; // [sp+0h] [bp-10h] int v14; // [sp+4h] [bp-Ch] int v15; // [sp+8h] [bp-8h] int v16; // [sp+Ch] [bp-4h] v3 = *((_DWORD *)this + 413); v4 = *((_DWORD *)this + 412); v5 = (v3 - v4) >> 4; if ( v5 <= a2 ) return 0; if ( a2 == v5 - 1 ) { if ( a3 && a2 && v4 != v3 ) { v7 = -1; goto LABEL_15; } return 0; } if ( a2 ) { if ( v4 != v3 ) { if ( a3 ) v7 = -1; else v7 = 1; goto LABEL_15; } return 0; } if ( a3 || v4 == v3 ) return 0; v7 = 1; LABEL_15: v8 = (int *)(v4 + 16 * a2); v9 = (int *)(v4 + 16 * (v7 + a2)); v13 = *v8; v14 = v8[1]; v15 = v8[2]; v16 = v8[3]; v10 = v9[1]; v11 = v9[2]; v12 = v9[3]; *v8 = *v9; v8[1] = v10; v8[2] = v11; v8[3] = v12; *v9 = v13; v9[1] = v14; v9[2] = v15; v9[3] = v16; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source