{"type": "func", "start": 386680, "end": 386844, "name": "sub_5E678", "pseudocode": "// \n// sub_5E678 from 0x5e678 to 0x5e71c (164 bytes)\n// \n// 2 xrefs:\n// > sub_5E794 @ 0x5ee10\n// > FMOD::Geometry::setScale @ 0xd53b0\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:13:52 +0000\n// \n\n__int64 __fastcall sub_5E678(__int64 a1, float *a2)\n{\n  __int64 v4; // x0\n  __int64 v5; // x0\n  float v6; // s1\n  float v7; // s0\n  unsigned int v8; // w19\n  float *v10; // x0\n  long double v11; // q0\n  __int64 v12; // x0\n  __int64 v13; // [xsp+0h] [xbp-20h] BYREF\n\n  v4 = sub_5F218(*(_QWORD *)(*(_QWORD *)(a1 + 24) + 400LL));\n  v5 = sub_5F23C(v4);\n  if ( !a2 || *a2 == 0.0 || (v6 = a2[1], v6 == 0.0) || (v7 = a2[2], v7 == 0.0) )\n  {\n    v8 = 31;\n  }\n  else\n  {\n    if ( *(float *)(a1 + 152) != *a2 || *(float *)(a1 + 156) != v6 || *(float *)(a1 + 160) != v7 )\n    {\n      v10 = (float *)sub_5F2AC(v5);\n      *(float *)&v11 = sub_5D4FC(v10);\n      sub_5F298(v12, v11);\n    }\n    v8 = 0;\n  }\n  sub_52090((__int64)&v13);\n  return v8;\n}", "assembly": "; \n; sub_5E678 from 0x5e678 to 0x5e71c (164 bytes)\n; \n; 2 xrefs:\n; > sub_5E794 @ 0x5ee10\n; > FMOD::Geometry::setScale @ 0xd53b0\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:13:52 +0000\n; \nSUB             SP, SP, #0x30                                          ; +0x0, 0x5e678\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x5e67c\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x5e680\nLDR             X8, [X0,#0x18]                                         ; +0xc, 0x5e684\nMOV             X19, X0                                                ; +0x10, 0x5e688\nADD             X29, SP, #0x20                                         ; +0x14, 0x5e68c\nMOV             X20, X1                                                ; +0x18, 0x5e690\nLDR             X0, [X8,#0x190]                                        ; +0x1c, 0x5e694\nBL              sub_5F218                                              ; +0x20, 0x5e698\nBL              sub_5F23C                                              ; +0x24, 0x5e69c\nCBZ             X20, loc_5E6C8                                         ; +0x28, 0x5e6a0\nLDR             S2, [X20]                                              ; +0x2c, 0x5e6a4\nFCMP            S2, #0.0                                               ; +0x30, 0x5e6a8\nB.EQ            loc_5E6C8                                              ; +0x34, 0x5e6ac\nLDR             S1, [X20,#4]                                           ; +0x38, 0x5e6b0\nFCMP            S1, #0.0                                               ; +0x3c, 0x5e6b4\nB.EQ            loc_5E6C8                                              ; +0x40, 0x5e6b8\nLDR             S0, [X20,#8]                                           ; +0x44, 0x5e6bc\nFCMP            S0, #0.0                                               ; +0x48, 0x5e6c0\nB.NE            loc_5E6E0                                              ; +0x4c, 0x5e6c4\nMOV             W19, #0x1F                                             ; +0x50, 0x5e6c8\nMOV             X0, SP                                                 ; +0x54, 0x5e6cc\nBL              sub_52090                                              ; +0x58, 0x5e6d0\nMOV             W0, W19                                                ; +0x5c, 0x5e6d4\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x60, 0x5e6d8\nB               loc_5F328                                              ; +0x64, 0x5e6dc\nMOV             X8, X19                                                ; +0x68, 0x5e6e0\nLDR             S3, [X8,#0x98]!                                        ; +0x6c, 0x5e6e4\nFCMP            S3, S2                                                 ; +0x70, 0x5e6e8\nB.NE            loc_5E708                                              ; +0x74, 0x5e6ec\nLDR             S2, [X19,#0x9C]                                        ; +0x78, 0x5e6f0\nFCMP            S2, S1                                                 ; +0x7c, 0x5e6f4\nB.NE            loc_5E708                                              ; +0x80, 0x5e6f8\nLDR             S1, [X19,#0xA0]                                        ; +0x84, 0x5e6fc\nFCMP            S1, S0                                                 ; +0x88, 0x5e700\nB.EQ            loc_5E714                                              ; +0x8c, 0x5e704\nBL              sub_5F2AC                                              ; +0x90, 0x5e708\nBL              sub_5D4FC                                              ; +0x94, 0x5e70c\nBL              sub_5F298                                              ; +0x98, 0x5e710\nMOV             W19, WZR                                               ; +0x9c, 0x5e714\nB               loc_5E6CC                                              ; +0xa0, 0x5e718", "xrefs": ["sub_5E794 @ 0x5ee10", "FMOD::Geometry::setScale @ 0xd53b0"], "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"}