{"type": "func", "start": 386512, "end": 386648, "name": "sub_5E5D0", "pseudocode": "// \n// sub_5E5D0 from 0x5e5d0 to 0x5e658 (136 bytes)\n// \n// 2 xrefs:\n// > sub_5E794 @ 0x5ed90\n// > FMOD::Geometry::setPosition @ 0xd5360\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\n__int64 __fastcall sub_5E5D0(__int64 a1, float *a2)\n{\n  __int64 v4; // x0\n  __int64 v5; // x0\n  __int64 v6; // x0\n  unsigned int v7; // w19\n  __int64 v9; // [xsp+0h] [xbp-20h] BYREF\n\n  v4 = sub_5F218(*(_QWORD *)(*(_QWORD *)(a1 + 24) + 400LL));\n  v5 = sub_5F23C(v4);\n  if ( a2 )\n  {\n    if ( *(float *)(a1 + 140) != *a2 || *(float *)(a1 + 144) != a2[1] || *(float *)(a1 + 148) != a2[2] )\n    {\n      v6 = sub_5F2AC(v5);\n      sub_5D760(v6);\n    }\n    v7 = 0;\n  }\n  else\n  {\n    v7 = 31;\n  }\n  sub_52090((__int64)&v9);\n  return v7;\n}", "assembly": "; \n; sub_5E5D0 from 0x5e5d0 to 0x5e658 (136 bytes)\n; \n; 2 xrefs:\n; > sub_5E794 @ 0x5ed90\n; > FMOD::Geometry::setPosition @ 0xd5360\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\nSUB             SP, SP, #0x30                                          ; +0x0, 0x5e5d0\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x5e5d4\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x5e5d8\nLDR             X8, [X0,#0x18]                                         ; +0xc, 0x5e5dc\nMOV             X19, X0                                                ; +0x10, 0x5e5e0\nADD             X29, SP, #0x20                                         ; +0x14, 0x5e5e4\nMOV             X20, X1                                                ; +0x18, 0x5e5e8\nLDR             X0, [X8,#0x190]                                        ; +0x1c, 0x5e5ec\nBL              sub_5F218                                              ; +0x20, 0x5e5f0\nBL              sub_5F23C                                              ; +0x24, 0x5e5f4\nCBZ             X20, loc_5E640                                         ; +0x28, 0x5e5f8\nMOV             X8, X19                                                ; +0x2c, 0x5e5fc\nLDR             S0, [X8,#0x8C]!                                        ; +0x30, 0x5e600\nLDR             S1, [X20]                                              ; +0x34, 0x5e604\nFCMP            S0, S1                                                 ; +0x38, 0x5e608\nB.NE            loc_5E630                                              ; +0x3c, 0x5e60c\nLDR             S0, [X19,#0x90]                                        ; +0x40, 0x5e610\nLDR             S1, [X20,#4]                                           ; +0x44, 0x5e614\nFCMP            S0, S1                                                 ; +0x48, 0x5e618\nB.NE            loc_5E630                                              ; +0x4c, 0x5e61c\nLDR             S0, [X19,#0x94]                                        ; +0x50, 0x5e620\nLDR             S1, [X20,#8]                                           ; +0x54, 0x5e624\nFCMP            S0, S1                                                 ; +0x58, 0x5e628\nB.EQ            loc_5E638                                              ; +0x5c, 0x5e62c\nBL              sub_5F2AC                                              ; +0x60, 0x5e630\nBL              sub_5D760                                              ; +0x64, 0x5e634\nMOV             W19, WZR                                               ; +0x68, 0x5e638\nB               loc_5E644                                              ; +0x6c, 0x5e63c\nMOV             W19, #0x1F                                             ; +0x70, 0x5e640\nMOV             X0, SP                                                 ; +0x74, 0x5e644\nBL              sub_52090                                              ; +0x78, 0x5e648\nMOV             W0, W19                                                ; +0x7c, 0x5e64c\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x80, 0x5e650\nB               loc_5F328                                              ; +0x84, 0x5e654", "xrefs": ["sub_5E794 @ 0x5ed90", "FMOD::Geometry::setPosition @ 0xd5360"], "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"}