{"type": "func", "start": 3694084, "end": 3694122, "name": "EditorUI::shouldSnap", "pseudocode": "// \n// EditorUI::shouldSnap from 0x385e04 to 0x385e2a (38 bytes)\n// \n// 3 xrefs:\n// > EditorUI::findSnapObject @ 0x385f18\n// > EditorUI::ccTouchMoved @ 0x3a4c3c\n// > EditorUI::ccTouchEnded @ 0x3a5596\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 0x385e04 to 0x385e2a (38 bytes)\n; \n; 3 xrefs:\n; > EditorUI::findSnapObject @ 0x385f18\n; > EditorUI::ccTouchMoved @ 0x3a4c3c\n; > EditorUI::ccTouchEnded @ 0x3a5596\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\nPUSH            {R3,LR}                                                ; +0x0, 0x385e04\nMOV             R0, R1                                                 ; +0x2, 0x385e06\nLDR             R3, [R1]                                               ; +0x4, 0x385e08\nLDR.W           R3, [R3,#0xB0]                                         ; +0x6, 0x385e0a\nBLX             R3                                                     ; +0xa, 0x385e0e\nMOVS            R1, #0x5A ; 'Z'                                        ; +0xc, 0x385e10\nVMOV            S15, R0                                                ; +0xe, 0x385e12\nVCVT.S32.F32    S15, S15                                               ; +0x12, 0x385e16\nVMOV            R0, S15                                                ; +0x16, 0x385e1a\nBLX             __aeabi_idivmod                                        ; +0x1a, 0x385e1e\nCLZ.W           R0, R1                                                 ; +0x1e, 0x385e22\nLSRS            R0, R0, #5                                             ; +0x22, 0x385e26\nPOP             {R3,PC}                                                ; +0x24, 0x385e28", "xrefs": ["EditorUI::findSnapObject @ 0x385f18", "EditorUI::ccTouchMoved @ 0x3a4c3c", "EditorUI::ccTouchEnded @ 0x3a5596"], "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"}