{"type": "func", "start": 375668, "end": 375744, "name": "sub_5BB74", "pseudocode": "// \n// sub_5BB74 from 0x5bb74 to 0x5bbc0 (76 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10c6a0\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_5BB74(__int64 a1, float a2)\n{\n  __int64 v3; // x0\n\n  v3 = *(_QWORD *)(a1 + 472);\n  if ( !v3 || !*(_QWORD *)(a1 + 32) )\n    JUMPOUT(0x5C4EC);\n  if ( (~LODWORD(a2) & 0x7F800000) == 0 )\n    return 29;\n  *(float *)(a1 + 544) = fminf(fmaxf(a2, 0.0), 1.0);\n  return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 168LL))(v3);\n}", "assembly": "; \n; sub_5BB74 from 0x5bb74 to 0x5bbc0 (76 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10c6a0\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\nMOV             X8, X0                                                 ; +0x0, 0x5bb74\nLDR             X0, [X0,#0x1D8]                                        ; +0x4, 0x5bb78\nCBZ             X0, loc_5BB9C                                          ; +0x8, 0x5bb7c\nLDR             X9, [X8,#0x20]                                         ; +0xc, 0x5bb80\nCBZ             X9, loc_5BB9C                                          ; +0x10, 0x5bb84\nFMOV            W9, S0                                                 ; +0x14, 0x5bb88\nMVN             W9, W9                                                 ; +0x18, 0x5bb8c\nTST             W9, #0x7F800000                                        ; +0x1c, 0x5bb90\nB.NE            loc_5BBA0                                              ; +0x20, 0x5bb94\nB               loc_5C740                                              ; +0x24, 0x5bb98\nB               loc_5C4EC                                              ; +0x28, 0x5bb9c\nFMOV            S1, WZR                                                ; +0x2c, 0x5bba0\nFMAXNM          S0, S0, S1                                             ; +0x30, 0x5bba4\nFMOV            S1, #1.0                                               ; +0x34, 0x5bba8\nFMINNM          S0, S0, S1                                             ; +0x38, 0x5bbac\nSTR             S0, [X8,#0x220]                                        ; +0x3c, 0x5bbb0\nLDR             X8, [X0]                                               ; +0x40, 0x5bbb4\nLDR             X1, [X8,#0xA8]                                         ; +0x44, 0x5bbb8\nBR              X1                                                     ; +0x48, 0x5bbbc", "xrefs": ["<???> @ 0x10c6a0"], "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"}