// // EditorPauseLayer::uncheckAllPortals from 0x78af24 to 0x78afe4 (192 bytes) // // 3 xrefs: // > @ 0x2bf98 // > EditorPauseLayer::customSetup @ 0x78c834 // > @ 0x1229448 // // 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 v3; // w19 cocos2d::CCArray *AllObjects; // x21 __int64 v5; // x0 int v6; // w1 __int64 v7; // x20 if ( !a1->m_saved ) { v3 = 0; AllObjects = LevelEditorLayer::getAllObjects(a1->m_editorLayer); while ( 1 ) { if ( v3 >= (unsigned int)cocos2d::CCArray::count(AllObjects) ) return; v5 = cocos2d::CCArray::objectAtIndex(AllObjects, v3); v6 = *(_DWORD *)(v5 + 1012); v7 = v5; if ( v6 == 111 ) goto LABEL_13; if ( v6 <= 111 ) { if ( v6 == 13 || v6 == 47 ) goto LABEL_13; LABEL_10: ++v3; } else { if ( v6 != 1331 && v6 != 1933 && v6 != 660 ) goto LABEL_10; LABEL_13: if ( !*(_BYTE *)(v5 + 1752) ) goto LABEL_10; ++v3; DrawGridLayer::removeFromGuides(a1->m_editorLayer->m_drawGridLayer, (GameObject *)v5); *(_BYTE *)(v7 + 1752) = 0; } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source