{"type": "func", "start": 6897724, "end": 6897804, "name": "EditorUI::shouldSnap", "pseudocode": "// \n// EditorUI::shouldSnap from 0x69403c to 0x69408c (80 bytes)\n// \n// 4 xrefs:\n// > EditorUI::findSnapObject @ 0x6941c4\n// > EditorUI::ccTouchMoved @ 0x6c1d18\n// > EditorUI::ccTouchEnded @ 0x6c2a40\n// > <???> @ 0xb9388\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nbool EditorUI::shouldSnap(EditorUI *a1, GameObject *a2)\n{\n  return (int)a2->getRotation(a2) % 90 == 0;\n}", "assembly": "; \n; EditorUI::shouldSnap from 0x69403c to 0x69408c (80 bytes)\n; \n; 4 xrefs:\n; > EditorUI::findSnapObject @ 0x6941c4\n; > EditorUI::ccTouchMoved @ 0x6c1d18\n; > EditorUI::ccTouchEnded @ 0x6c2a40\n; > <???> @ 0xb9388\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0x69403c\nMOV             X0, X1                                                 ; +0x4, 0x694040\nMOV             X29, SP                                                ; +0x8, 0x694044\nLDR             X1, [X1]                                               ; +0xc, 0x694048\nLDR             X1, [X1,#0x160]                                        ; +0x10, 0x69404c\nBLR             X1                                                     ; +0x14, 0x694050\nFCVTZS          W1, S0                                                 ; +0x18, 0x694054\nMOV             W0, #0xB60B60B7                                        ; +0x1c, 0x694058\nMOV             W2, #0x5A ; 'Z'                                        ; +0x24, 0x694060\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x28, 0x694064\nSMULL           X0, W1, W0                                             ; +0x2c, 0x694068\nLSR             X0, X0, #0x20 ; ' '                                    ; +0x30, 0x69406c\nADD             W0, W1, W0                                             ; +0x34, 0x694070\nASR             W0, W0, #6                                             ; +0x38, 0x694074\nSUB             W0, W0, W1,ASR#31                                      ; +0x3c, 0x694078\nMSUB            W0, W0, W2, W1                                         ; +0x40, 0x69407c\nCMP             W0, WZR                                                ; +0x44, 0x694080\nCSET            W0, EQ                                                 ; +0x48, 0x694084\nRET                                                                    ; +0x4c, 0x694088", "xrefs": ["EditorUI::findSnapObject @ 0x6941c4", "EditorUI::ccTouchMoved @ 0x6c1d18", "EditorUI::ccTouchEnded @ 0x6c2a40", "<???> @ 0xb9388"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}