// // LevelEditorLayer::quickUpdateAllPositions from 0x1402dfa60 to 0x1402dfbdb (379 bytes) // // 6 xrefs: // > EditorUI::onPlaytest @ 0x1401121a5 // > LevelEditorLayer::onStopPlaytest @ 0x1402e085b // > @ 0x14068ed14 // > @ 0x14068ed24 // > @ 0x1406d3548 // > @ 0x1406d3554 // // 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 // void LevelEditorLayer::quickUpdateAllPositions(LevelEditorLayer *a1) { double v1; // xmm0_8 std::_Vector_val *, std::allocator *>> *>>::pointer Myfirst; // rdx int v3; // r8d __int64 v5; // r15 _QWORD *p_Myfirst; // rcx __int64 v7; // rax __int64 v8; // rbp __int64 v9; // r12 std::_Simple_types *>::value_type v10; // r14 __int64 v11; // rbx __int64 v12; // rsi std::_Simple_types::value_type v13; // rdi cocos2d::CCSprite *m_colorSprite; // rcx int v15; // [rsp+60h] [rbp+8h] struct cocos2d::CCPoint v16; // [rsp+68h] [rbp+10h] BYREF Myfirst = a1->m_sections._Mypair._Myval2._Myfirst; v3 = 0; v15 = 0; if ( a1->m_sections._Mypair._Myval2._Mylast - Myfirst ) { v5 = 0; do { p_Myfirst = &Myfirst[v5]->_Mypair._Myval2._Myfirst; if ( p_Myfirst ) v7 = (__int64)(p_Myfirst[1] - *p_Myfirst) >> 3; else LODWORD(v7) = -1; v8 = 0; v9 = (int)v7; if ( (int)v7 > 0 ) { do { v10 = a1->m_sections._Mypair._Myval2._Myfirst[v5]->_Mypair._Myval2._Myfirst[v8]; if ( v10 ) { v11 = 0; v12 = a1->m_sectionSizes._Mypair._Myval2._Myfirst[v5]->_Mypair._Myval2._Myfirst[v8]; if ( v12 > 0 ) { do { v13 = v10->_Mypair._Myval2._Myfirst[v11]; v1 = cocos2d::CCPoint::CCPoint(*(float *)&v1, v13->m_positionX); cocos2d::CCSprite::setPosition(v13, &v16); m_colorSprite = v13->m_colorSprite; if ( m_colorSprite ) { if ( !v13->m_colorSpriteLocked ) m_colorSprite->setPosition_0(m_colorSprite, &v16); } ++v11; } while ( v11 < v12 ); } } ++v8; } while ( v8 < v9 ); v3 = v15; } Myfirst = a1->m_sections._Mypair._Myval2._Myfirst; ++v3; ++v5; v15 = v3; } while ( v3 < (unsigned __int64)(a1->m_sections._Mypair._Myval2._Mylast - Myfirst) ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source