{"type": "func", "start": 4299631792, "end": 4299631888, "name": "EditorUI::onGoToFreeLayer", "pseudocode": "// \n// EditorUI::onGoToFreeLayer from 0x100472cb0 to 0x100472d10 (96 bytes)\n// \n// 2 xrefs:\n// > EditorUI::handleEditorAction @ 0x100163608\n// > EditorUI::init @ 0x100470534\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:05:39 +0000\n// \n\n__int64 __fastcall EditorUI::onGoToFreeLayer(__int64 a1)\n{\n  __int64 v2; // x0\n  __int16 v3; // w20\n  _OWORD v5[2]; // [xsp+0h] [xbp-40h] BYREF\n  int v6; // [xsp+20h] [xbp-20h]\n\n  v2 = *(_QWORD *)(a1 + 1440);\n  memset(v5, 0, sizeof(v5));\n  v6 = 1065353216;\n  v3 = sub_10040158C(v2, (__int64)v5);\n  sub_1000184EC((__int64)v5);\n  *(_WORD *)(*(_QWORD *)(a1 + 1440) + 14210LL) = v3;\n  return EditorUI::updateGroupIDLabel(a1);\n}", "assembly": "; \n; EditorUI::onGoToFreeLayer from 0x100472cb0 to 0x100472d10 (96 bytes)\n; \n; 2 xrefs:\n; > EditorUI::handleEditorAction @ 0x100163608\n; > EditorUI::init @ 0x100470534\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:05:39 +0000\n; \nSUB             SP, SP, #0x50                                          ; +0x0, 0x100472cb0\nSTP             X20, X19, [SP,#0x40+var_10]                            ; +0x4, 0x100472cb4\nSTP             X29, X30, [SP,#0x40+var_s0]                            ; +0x8, 0x100472cb8\nADD             X29, SP, #0x40                                         ; +0xc, 0x100472cbc\nMOV             X19, X0                                                ; +0x10, 0x100472cc0\nLDR             X0, [X0,#0x5A0]                                        ; +0x14, 0x100472cc4\nMOVI            V0.16B, #0                                             ; +0x18, 0x100472cc8\nSTP             Q0, Q0, [SP,#0x40+var_40]                              ; +0x1c, 0x100472ccc\nMOV             W8, #0x3F800000                                        ; +0x20, 0x100472cd0\nSTR             W8, [SP,#0x40+var_20]                                  ; +0x24, 0x100472cd4\nMOV             X1, SP                                                 ; +0x28, 0x100472cd8\nBL              sub_10040158C                                          ; +0x2c, 0x100472cdc\nMOV             X20, X0                                                ; +0x30, 0x100472ce0\nMOV             X0, SP                                                 ; +0x34, 0x100472ce4\nBL              sub_1000184EC                                          ; +0x38, 0x100472ce8\nLDR             X8, [X19,#0x5A0]                                       ; +0x3c, 0x100472cec\nMOV             W9, #0x3782                                            ; +0x40, 0x100472cf0\nSTRH            W20, [X8,X9]                                           ; +0x44, 0x100472cf4\nMOV             X0, X19                                                ; +0x48, 0x100472cf8\nBL              EditorUI__updateGroupIDLabel                           ; +0x4c, 0x100472cfc\nLDP             X29, X30, [SP,#0x40+var_s0]                            ; +0x50, 0x100472d00\nLDP             X20, X19, [SP,#0x40+var_10]                            ; +0x54, 0x100472d04\nADD             SP, SP, #0x50 ; 'P'                                    ; +0x58, 0x100472d08\nRET                                                                    ; +0x5c, 0x100472d0c", "xrefs": ["EditorUI::handleEditorAction @ 0x100163608", "EditorUI::init @ 0x100470534"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}