// // EditorPauseLayer::uncheckAllPortals from 0x10039de24 to 0x10039deec (200 bytes) // // 1 xrefs: // > EditorPauseLayer::customSetup @ 0x10039c5f0 // // 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 __fastcall EditorPauseLayer::uncheckAllPortals(EditorPauseLayer *a1, cocos2d::CCObject *a2) { cocos2d::CCArray *AllObjects; // x20 unsigned int i; // w21 __int64 v5; // x0 __int64 v6; // x22 int v7; // w8 if ( !a1->m_saved ) { AllObjects = LevelEditorLayer::getAllObjects(a1->m_editorLayer); if ( (unsigned int)sub_10024A36C((__int64)AllObjects) ) { for ( i = 0; i < (unsigned int)sub_10024A36C((__int64)AllObjects); ++i ) { v5 = sub_10024A388((__int64)AllObjects, i); v6 = v5; v7 = *(_DWORD *)(v5 + 1028); if ( v7 > 659 ) { if ( v7 != 660 && v7 != 1933 && v7 != 1331 ) continue; } else if ( v7 != 13 && v7 != 47 && v7 != 111 ) { continue; } if ( *(_BYTE *)(v5 + 1768) == 1 ) { DrawGridLayer::removeFromGuides(a1->m_editorLayer->m_drawGridLayer, (GameObject *)v5); *(_BYTE *)(v6 + 1768) = 0; } } } } }