{"type": "func", "start": 364636, "end": 364732, "name": "sub_5905C", "pseudocode": "// \n// sub_5905C from 0x5905c to 0x590bc (96 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10c588\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_5905C(__int64 a1, __int64 a2, __int64 a3)\n{\n  __int64 v3; // x30\n  __int64 v4; // x0\n  __int64 v5; // x1\n  __int64 v6; // x2\n  char v7; // zf\n  __int64 v8; // x0\n  float v9; // s0\n  float v10; // s1\n  __int64 v11; // x8\n\n  v4 = sub_593A4(a1, v3, a3);\n  if ( v7 )\n    return 29;\n  v8 = sub_593A4(v4, v5, v6);\n  if ( v7 )\n    return 29;\n  v11 = *(_QWORD *)v8;\n  *(float *)(v8 + 208) = fmaxf(fminf(v9, 1.0), 0.0);\n  *(float *)(v8 + 212) = fmaxf(fminf(v10, 1.0), 0.0);\n  return (*(__int64 (__fastcall **)(__int64, _QWORD, float, float))(v11 + 408))(\n           v8,\n           0,\n           *(float *)(v8 + 192),\n           *(float *)(v8 + 196));\n}", "assembly": "; \n; sub_5905C from 0x5905c to 0x590bc (96 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10c588\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\nFMOV            W8, S0                                                 ; +0x0, 0x5905c\nMOV             X1, X30                                                ; +0x4, 0x59060\nBL              sub_593A4                                              ; +0x8, 0x59064\nMOV             X30, X1                                                ; +0xc, 0x59068\nB.EQ            loc_59084                                              ; +0x10, 0x5906c\nFMOV            W8, S1                                                 ; +0x14, 0x59070\nMOV             X1, X30                                                ; +0x18, 0x59074\nBL              sub_593A4                                              ; +0x1c, 0x59078\nMOV             X30, X1                                                ; +0x20, 0x5907c\nB.NE            loc_5908C                                              ; +0x24, 0x59080\nMOV             W0, #0x1D                                              ; +0x28, 0x59084\nRET                                                                    ; +0x2c, 0x59088\nFMOV            S2, #1.0                                               ; +0x30, 0x5908c\nLDR             X8, [X0]                                               ; +0x34, 0x59090\nFMOV            S3, WZR                                                ; +0x38, 0x59094\nFMINNM          S0, S0, S2                                             ; +0x3c, 0x59098\nFMINNM          S1, S1, S2                                             ; +0x40, 0x5909c\nFMAXNM          S0, S0, S3                                             ; +0x44, 0x590a0\nFMAXNM          S1, S1, S3                                             ; +0x48, 0x590a4\nSTP             S0, S1, [X0,#0xD0]                                     ; +0x4c, 0x590a8\nLDP             S0, S1, [X0,#0xC0]                                     ; +0x50, 0x590ac\nLDR             X2, [X8,#0x198]                                        ; +0x54, 0x590b0\nMOV             W1, WZR                                                ; +0x58, 0x590b4\nBR              X2                                                     ; +0x5c, 0x590b8", "xrefs": ["<???> @ 0x10c588"], "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"}