// // EditorUI::getCycledObject from 0x6906a4 to 0x690768 (196 bytes) // // 4 xrefs: // > EditorUI::onDelete @ 0x6c0af0 // > EditorUI::ccTouchEnded @ 0x6c2d10 // > EditorUI::ccTouchEnded @ 0x6c2f94 // > @ 0x624c0 // // 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 *EditorUI::getCycledObject(EditorUI *a1, cocos2d::CCArray *a2, bool a3) { unsigned int v5; // w23 unsigned int v6; // w19 __int64 v7; // x21 bool v8; // cf unsigned int v9; // w1 cocos2d::CCArray *v10; // x0 __int64 v11; // x20 v5 = a3; v6 = 0; v7 = 0; while ( 1 ) { v8 = v6 >= (unsigned int)cocos2d::CCArray::count(a2); v9 = v6; v10 = a2; ++v6; if ( v8 ) break; while ( 1 ) { v11 = cocos2d::CCArray::objectAtIndex(v10, v9); if ( *(unsigned __int8 *)(v11 + 1117) > v5 || v7 && *(_DWORD *)(v11 + 1120) >= *(_DWORD *)(v7 + 1120) ) break; if ( EditorUI::canSelectObject(a1, (GameObject *)v11) ) v7 = v11; v8 = v6 >= (unsigned int)cocos2d::CCArray::count(a2); v9 = v6; v10 = a2; ++v6; if ( v8 ) goto LABEL_10; } } LABEL_10: if ( v7 ) *(_DWORD *)(v7 + 1120) = a1->m_cycledObjectIndex; return (GameObject *)v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source