// // EditorUI::getCycledObject from 0x10000fd20 to 0x10000fe27 (263 bytes) // // 2 xrefs: // > EditorUI::ccTouchEnded @ 0x10060adfa // > EditorUI::ccTouchEnded @ 0x10060aeed // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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 12:18:51 +0000 // __int64 __fastcall EditorUI::getCycledObject(__int64 a1, __int64 a2, char a3) { __int64 v4; // r14 unsigned int v5; // r12d __int64 v6; // r13 __int64 v7; // rax unsigned int v8; // r12d __int64 v9; // r13 __int64 v10; // rax if ( !(unsigned int)sub_1007FEF90(a2) ) return 0; if ( a3 ) { v4 = 0; v5 = 0; do { v7 = sub_1007FEFE0(a2, v5); if ( !v4 || *(_DWORD *)(v7 + 1136) < *(_DWORD *)(v4 + 1136) ) { v6 = v7; if ( (unsigned __int8)EditorUI::canSelectObject(a1, v7) ) v4 = v6; } ++v5; } while ( v5 < (unsigned int)sub_1007FEF90(a2) ); } else { v4 = 0; v8 = 0; do { v10 = sub_1007FEFE0(a2, v8); if ( !*(_BYTE *)(v10 + 1133) && (!v4 || *(_DWORD *)(v10 + 1136) < *(_DWORD *)(v4 + 1136)) ) { v9 = v10; if ( (unsigned __int8)EditorUI::canSelectObject(a1, v10) ) v4 = v9; } ++v8; } while ( v8 < (unsigned int)sub_1007FEF90(a2) ); } if ( !v4 ) return 0; *(_DWORD *)(v4 + 1136) = *(_DWORD *)(a1 + 1540); return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source