{"type": "func", "start": 4299661484, "end": 4299661708, "name": "EditorUI::getNeighbor", "pseudocode": "// \n// EditorUI::getNeighbor from 0x10047a0ac to 0x10047a18c (224 bytes)\n// \n// 13 xrefs:\n// > EditorUI::convertKeyBasedOnNeighbors @ 0x1000805e0\n// > EditorUI::convertKeyBasedOnNeighbors @ 0x100080608\n// > EditorUI::convertKeyBasedOnNeighbors @ 0x100080630\n// > EditorUI::convertKeyBasedOnNeighbors @ 0x100080658\n// > EditorUI::createOutlines @ 0x1000812a4\n// > EditorUI::createOutlines @ 0x1000812cc\n// > EditorUI::createOutlines @ 0x1000812f4\n// > EditorUI::createOutlines @ 0x10008131c\n// > EditorUI::createOutlines @ 0x100081344\n// > EditorUI::createOutlines @ 0x10008136c\n// > EditorUI::createOutlines @ 0x100081394\n// > EditorUI::createOutlines @ 0x1000813bc\n// > EditorUI::processSmartObjectsFromType @ 0x100479ee4\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:43 +0000\n// \n\n__int64 __fastcall EditorUI::getNeighbor(__int64 a1, __int64 a2, float32x2_t *a3, int a4, __int64 a5)\n{\n  float32x2_t v7; // kr00_8\n  unsigned int v8; // w20\n  __int64 v9; // x21\n  int v10; // w24\n  __int64 v11; // x0\n  float32x2_t v13; // [xsp+0h] [xbp-50h] BYREF\n  float32x2_t v14; // [xsp+8h] [xbp-48h] BYREF\n\n  GJSmartTemplate::offsetForDir(a4, a2, (__int64)&v13);\n  sub_100026318(a3, &v13, &v14);\n  v7 = v14;\n  if ( !(unsigned int)sub_1002E757C(a5) )\n    return 0;\n  v8 = 0;\n  while ( 1 )\n  {\n    v9 = sub_1002E75A0(a5, v8);\n    v10 = (int)*(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v9 + 192LL))(v9);\n    v11 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v9 + 192LL))(v9);\n    if ( (int)v7.f32[0] == v10 && v7.i32[1] == *(int *)(v11 + 4) )\n      break;\n    if ( ++v8 >= (unsigned int)sub_1002E757C(a5) )\n      return 0;\n  }\n  return v9;\n}", "assembly": "; \n; EditorUI::getNeighbor from 0x10047a0ac to 0x10047a18c (224 bytes)\n; \n; 13 xrefs:\n; > EditorUI::convertKeyBasedOnNeighbors @ 0x1000805e0\n; > EditorUI::convertKeyBasedOnNeighbors @ 0x100080608\n; > EditorUI::convertKeyBasedOnNeighbors @ 0x100080630\n; > EditorUI::convertKeyBasedOnNeighbors @ 0x100080658\n; > EditorUI::createOutlines @ 0x1000812a4\n; > EditorUI::createOutlines @ 0x1000812cc\n; > EditorUI::createOutlines @ 0x1000812f4\n; > EditorUI::createOutlines @ 0x10008131c\n; > EditorUI::createOutlines @ 0x100081344\n; > EditorUI::createOutlines @ 0x10008136c\n; > EditorUI::createOutlines @ 0x100081394\n; > EditorUI::createOutlines @ 0x1000813bc\n; > EditorUI::processSmartObjectsFromType @ 0x100479ee4\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:43 +0000\n; \nSUB             SP, SP, #0x60                                          ; +0x0, 0x10047a0ac\nSTP             D9, D8, [SP,#0x50+var_40]                              ; +0x4, 0x10047a0b0\nSTP             X24, X23, [SP,#0x50+var_30]                            ; +0x8, 0x10047a0b4\nSTP             X22, X21, [SP,#0x50+var_20]                            ; +0xc, 0x10047a0b8\nSTP             X20, X19, [SP,#0x50+var_10]                            ; +0x10, 0x10047a0bc\nSTP             X29, X30, [SP,#0x50+var_s0]                            ; +0x14, 0x10047a0c0\nADD             X29, SP, #0x50                                         ; +0x18, 0x10047a0c4\nMOV             X19, X4                                                ; +0x1c, 0x10047a0c8\nMOV             X0, X3                                                 ; +0x20, 0x10047a0cc\nMOV             X20, X2                                                ; +0x24, 0x10047a0d0\nMOV             X8, SP                                                 ; +0x28, 0x10047a0d4\nBL              GJSmartTemplate__offsetForDir                          ; +0x2c, 0x10047a0d8\nADD             X8, SP, #0x50+var_48                                   ; +0x30, 0x10047a0dc\nMOV             X1, SP                                                 ; +0x34, 0x10047a0e0\nMOV             X0, X20                                                ; +0x38, 0x10047a0e4\nBL              sub_100026318                                          ; +0x3c, 0x10047a0e8\nLDP             S8, S9, [SP,#0x50+var_48]                              ; +0x40, 0x10047a0ec\nMOV             X0, X19                                                ; +0x44, 0x10047a0f0\nBL              sub_1002E757C                                          ; +0x48, 0x10047a0f4\nCBZ             W0, loc_10047A168                                      ; +0x4c, 0x10047a0f8\nMOV             W20, #0                                                ; +0x50, 0x10047a0fc\nFCVTZS          W22, S8                                                ; +0x54, 0x10047a100\nFCVTZS          W23, S9                                                ; +0x58, 0x10047a104\nMOV             X0, X19                                                ; +0x5c, 0x10047a108\nMOV             X1, X20                                                ; +0x60, 0x10047a10c\nBL              sub_1002E75A0                                          ; +0x64, 0x10047a110\nMOV             X21, X0                                                ; +0x68, 0x10047a114\nLDR             X8, [X0]                                               ; +0x6c, 0x10047a118\nLDR             X8, [X8,#0xC0]                                         ; +0x70, 0x10047a11c\nBLR             X8                                                     ; +0x74, 0x10047a120\nLDR             S0, [X0]                                               ; +0x78, 0x10047a124\nFCVTZS          W24, S0                                                ; +0x7c, 0x10047a128\nLDR             X8, [X21]                                              ; +0x80, 0x10047a12c\nLDR             X8, [X8,#0xC0]                                         ; +0x84, 0x10047a130\nMOV             X0, X21                                                ; +0x88, 0x10047a134\nBLR             X8                                                     ; +0x8c, 0x10047a138\nCMP             W22, W24                                               ; +0x90, 0x10047a13c\nB.NE            loc_10047A154                                          ; +0x94, 0x10047a140\nLDR             S0, [X0,#4]                                            ; +0x98, 0x10047a144\nFCVTZS          W8, S0                                                 ; +0x9c, 0x10047a148\nCMP             W23, W8                                                ; +0xa0, 0x10047a14c\nB.EQ            loc_10047A16C                                          ; +0xa4, 0x10047a150\nADD             W20, W20, #1                                           ; +0xa8, 0x10047a154\nMOV             X0, X19                                                ; +0xac, 0x10047a158\nBL              sub_1002E757C                                          ; +0xb0, 0x10047a15c\nCMP             W20, W0                                                ; +0xb4, 0x10047a160\nB.CC            loc_10047A108                                          ; +0xb8, 0x10047a164\nMOV             X21, #0                                                ; +0xbc, 0x10047a168\nMOV             X0, X21                                                ; +0xc0, 0x10047a16c\nLDP             X29, X30, [SP,#0x50+var_s0]                            ; +0xc4, 0x10047a170\nLDP             X20, X19, [SP,#0x50+var_10]                            ; +0xc8, 0x10047a174\nLDP             X22, X21, [SP,#0x50+var_20]                            ; +0xcc, 0x10047a178\nLDP             X24, X23, [SP,#0x50+var_30]                            ; +0xd0, 0x10047a17c\nLDP             D9, D8, [SP,#0x50+var_40]                              ; +0xd4, 0x10047a180\nADD             SP, SP, #0x60 ; '`'                                    ; +0xd8, 0x10047a184\nRET                                                                    ; +0xdc, 0x10047a188", "xrefs": ["EditorUI::convertKeyBasedOnNeighbors @ 0x1000805e0", "EditorUI::convertKeyBasedOnNeighbors @ 0x100080608", "EditorUI::convertKeyBasedOnNeighbors @ 0x100080630", "EditorUI::convertKeyBasedOnNeighbors @ 0x100080658", "EditorUI::createOutlines @ 0x1000812a4", "EditorUI::createOutlines @ 0x1000812cc", "EditorUI::createOutlines @ 0x1000812f4", "EditorUI::createOutlines @ 0x10008131c", "EditorUI::createOutlines @ 0x100081344", "EditorUI::createOutlines @ 0x10008136c", "EditorUI::createOutlines @ 0x100081394", "EditorUI::createOutlines @ 0x1000813bc", "EditorUI::processSmartObjectsFromType @ 0x100479ee4"], "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"}