// // EditorPauseLayer::uncheckAllPortals from 0x3ff5fe to 0x3ff674 (118 bytes) // // 0 xrefs: // // 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 EditorPauseLayer::uncheckAllPortals(EditorPauseLayer *a1, cocos2d::CCObject *a2) { unsigned int m_saved; // r4 bool v4; // r7 cocos2d::CCArray *AllObjects; // r6 int v6; // r0 int v7; // r3 int v8; // r10 bool v9; // zf m_saved = a1->m_saved; if ( !a1->m_saved ) { v4 = a1->m_saved; AllObjects = LevelEditorLayer::getAllObjects(a1->m_editorLayer); while ( 1 ) { if ( m_saved >= cocos2d::CCArray::count(AllObjects) ) return; v6 = cocos2d::CCArray::objectAtIndex(AllObjects, m_saved); v7 = *(_DWORD *)(v6 + 884); v8 = v6; if ( v7 != 111 ) { if ( v7 > 111 ) { if ( v7 != 1331 && v7 != 1933 ) { v9 = v7 == 660; LABEL_11: if ( !v9 ) goto LABEL_15; } } else if ( v7 != 13 ) { v9 = v7 == 47; goto LABEL_11; } } if ( *(_BYTE *)(v6 + 1576) ) { DrawGridLayer::removeFromGuides(a1->m_editorLayer->m_drawGridLayer, (GameObject *)v6); *(_BYTE *)(v8 + 1576) = v4; } LABEL_15: ++m_saved; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source