// // EditorUI::uncheckPortals from 0x10047b5fc to 0x10047b6c8 (204 bytes) // // 2 xrefs: // > EditorUI::handleEditorAction @ 0x1001631f8 // > EditorCommandsPopup::onCommand @ 0x1004c5b6c // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:05:43 +0000 // __int64 __fastcall EditorUI::uncheckPortals(__int64 a1) { __int64 result; // x0 __int64 v3; // x20 int v4; // w21 unsigned int i; // w22 __int64 v6; // x23 int v7; // w8 result = LevelEditorLayer::getAllObjects(*(_QWORD *)(a1 + 1440)); if ( result ) { v3 = result; result = sub_1002E757C(result); if ( (int)result >= 1 ) { v4 = result; for ( i = 0; v4 != i; ++i ) { result = sub_1002E75A0(v3, i); v6 = result; v7 = *(_DWORD *)(result + 1028); if ( v7 > 659 ) { if ( v7 != 660 && v7 != 1933 && v7 != 1331 ) continue; } else if ( v7 != 13 && v7 != 47 && v7 != 111 ) { continue; } if ( *(_BYTE *)(result + 1768) == 1 ) { result = sub_1003FF90C(*(_QWORD *)(*(_QWORD *)(a1 + 1440) + 14288LL)); *(_BYTE *)(v6 + 1768) = 0; } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source