// // EditorUI::editorLayerForArray from 0x10000c600 to 0x10000c6c9 (201 bytes) // // 0 xrefs: // // 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:50 +0000 // __int64 __fastcall EditorUI::editorLayerForArray(__int64 a1, __int64 a2, char a3) { unsigned int v3; // r14d unsigned int v5; // r15d unsigned int v6; // eax unsigned int v7; // r15d unsigned int v8; // eax v3 = 0; if ( a2 ) { if ( !(unsigned int)sub_1007FEF90(a2) ) return 0; if ( a3 ) { v5 = 0; v3 = -1; while ( 1 ) { v6 = *(__int16 *)(sub_1007FEFE0(a2, v5) + 1204); if ( v3 == -1 ) { v3 = v6; } else if ( v3 != v6 ) { return 0; } if ( ++v5 >= (unsigned int)sub_1007FEF90(a2) ) goto LABEL_16; } } v7 = 0; v3 = -1; do { v8 = *(__int16 *)(sub_1007FEFE0(a2, v7) + 1202); if ( v3 == -1 ) { v3 = v8; } else if ( v3 != v8 ) { return 0; } ++v7; } while ( v7 < (unsigned int)sub_1007FEF90(a2) ); LABEL_16: if ( v3 == -1 ) return 0; } return v3; }