// // EditorUI::getCycledObject from 0x1003e9974 to 0x1003e9a24 (176 bytes) // // 3 xrefs: // > EditorUI::onDelete @ 0x1003e68d4 // > EditorUI::ccTouchEnded @ 0x1003f94b8 // > EditorUI::ccTouchEnded @ 0x1003f9578 // // 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 // GameObject *__fastcall EditorUI::getCycledObject(EditorUI *a1, cocos2d::CCArray *a2, bool a3) { _BOOL4 v3; // w20 __int64 v6; // x22 unsigned int v7; // w23 __int64 v8; // x0 __int64 v10; // x24 v3 = a3; v6 = 0; if ( (unsigned int)sub_10024A36C((__int64)a2) ) { v7 = 0; do { v8 = sub_10024A388((__int64)a2, v7); if ( *(_BYTE *)(v8 + 1133) != 1 || v3 ) { v10 = v8; if ( (!v6 || *(_DWORD *)(v8 + 1136) < *(_DWORD *)(v6 + 1136)) && EditorUI::canSelectObject((EditorUI *)v8, (GameObject *)v8) ) { v6 = v10; } } ++v7; } while ( v7 < (unsigned int)sub_10024A36C((__int64)a2) ); if ( v6 ) *(_DWORD *)(v6 + 1136) = a1->m_cycledObjectIndex; } return (GameObject *)v6; }