// // EditorPauseLayer::uncheckAllPortals from 0x100293c30 to 0x100293d09 (217 bytes) // // 1 xrefs: // > EditorPauseLayer::customSetup @ 0x100291ee5 // // 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; // r14 unsigned int i; // r15d __int64 v4; // rax int v5; // ecx __int64 v6; // r12 if ( !a1->m_saved ) { AllObjects = LevelEditorLayer::getAllObjects(a1->m_editorLayer); if ( (unsigned int)sub_100720070(AllObjects) ) { for ( i = 0; i < (unsigned int)sub_100720070(AllObjects); ++i ) { v4 = sub_1007200C0(AllObjects, i); v5 = *(_DWORD *)(v4 + 1028); if ( v5 > 659 ) { if ( v5 != 660 && v5 != 1933 && v5 != 1331 ) continue; } else if ( v5 != 13 && v5 != 47 && v5 != 111 ) { continue; } if ( *(_BYTE *)(v4 + 1768) == 1 ) { v6 = v4; DrawGridLayer::removeFromGuides(a1->m_editorLayer->m_drawGridLayer, (GameObject *)v4); *(_BYTE *)(v6 + 1768) = 0; } } } } }