{"type": "func", "start": 8156568, "end": 8156648, "name": "EditorUI::shouldSnap", "pseudocode": "// \n// EditorUI::shouldSnap from 0x7c7598 to 0x7c75e8 (80 bytes)\n// \n// 4 xrefs:\n// > EditorUI::findSnapObject @ 0x7c7720\n// > EditorUI::ccTouchMoved @ 0xbd5da8\n// > EditorUI::ccTouchEnded @ 0xbd6268\n// > <???> @ 0xf1b40\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 12:54:09 +0000\n// \n\nbool __fastcall EditorUI::shouldSnap(EditorUI *this, GameObject *a2)\n{\n  return (int)(*(float (__fastcall **)(GameObject *))(*(_QWORD *)a2 + 368LL))(a2) % 90 == 0;\n}", "assembly": "; \n; EditorUI::shouldSnap from 0x7c7598 to 0x7c75e8 (80 bytes)\n; \n; 4 xrefs:\n; > EditorUI::findSnapObject @ 0x7c7720\n; > EditorUI::ccTouchMoved @ 0xbd5da8\n; > EditorUI::ccTouchEnded @ 0xbd6268\n; > <???> @ 0xf1b40\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 12:54:09 +0000\n; \nSTP             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0x7c7598\nMOV             X0, X1                                                 ; +0x4, 0x7c759c\nMOV             X29, SP                                                ; +0x8, 0x7c75a0\nLDR             X1, [X1]                                               ; +0xc, 0x7c75a4\nLDR             X1, [X1,#0x170]                                        ; +0x10, 0x7c75a8\nBLR             X1                                                     ; +0x14, 0x7c75ac\nFCVTZS          W1, S0                                                 ; +0x18, 0x7c75b0\nMOV             W0, #0xB60B60B7                                        ; +0x1c, 0x7c75b4\nMOV             W2, #0x5A ; 'Z'                                        ; +0x24, 0x7c75bc\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x28, 0x7c75c0\nSMULL           X0, W1, W0                                             ; +0x2c, 0x7c75c4\nLSR             X0, X0, #0x20 ; ' '                                    ; +0x30, 0x7c75c8\nADD             W0, W1, W0                                             ; +0x34, 0x7c75cc\nASR             W0, W0, #6                                             ; +0x38, 0x7c75d0\nSUB             W0, W0, W1,ASR#31                                      ; +0x3c, 0x7c75d4\nMSUB            W0, W0, W2, W1                                         ; +0x40, 0x7c75d8\nCMP             W0, WZR                                                ; +0x44, 0x7c75dc\nCSET            W0, EQ                                                 ; +0x48, 0x7c75e0\nRET                                                                    ; +0x4c, 0x7c75e4", "xrefs": ["EditorUI::findSnapObject @ 0x7c7720", "EditorUI::ccTouchMoved @ 0xbd5da8", "EditorUI::ccTouchEnded @ 0xbd6268", "<???> @ 0xf1b40"], "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"}