{"type": "func", "start": 350984, "end": 351108, "name": "sub_55B08", "pseudocode": "// \n// sub_55B08 from 0x55b08 to 0x55b84 (124 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x55b06\n// > sub_54452 @ 0x54452\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\nint __fastcall sub_55B08(float *a1, float a2, float a3, float a4)\n{\n  float v4; // s0\n  float v5; // s0\n  float v6; // s0\n\n  v4 = a4;\n  if ( a4 < 0.0 )\n    v4 = 0.0;\n  if ( v4 > 1.0 )\n    v4 = 1.0;\n  a1[27] = v4;\n  v5 = a3;\n  if ( a3 < 0.0 )\n    v5 = 0.0;\n  if ( v5 > 360.0 )\n    v5 = 360.0;\n  a1[26] = v5;\n  v6 = a2;\n  if ( a2 < 0.0 )\n    v6 = 0.0;\n  if ( v6 > 360.0 )\n    v6 = 360.0;\n  a1[25] = v6;\n  return 0;\n}", "assembly": "; \n; sub_55B08 from 0x55b08 to 0x55b84 (124 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x55b06\n; > sub_54452 @ 0x54452\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\nVMOV.F32        S4, #1.0                                               ; +0x0, 0x55b08\nVLDR            S2, =0.0                                               ; +0x4, 0x55b0c\nVMOV            S0, R3                                                 ; +0x8, 0x55b10\nVCMPE.F32       S0, #0.0                                               ; +0xc, 0x55b14\nVMRS            APSR_nzcv, FPSCR                                       ; +0x10, 0x55b18\nIT LT                                                                  ; +0x14, 0x55b1c\nVMOVLT.F32      S0, S2                                                 ; +0x16, 0x55b1e\nVCMPE.F32       S0, S4                                                 ; +0x1a, 0x55b22\nVMRS            APSR_nzcv, FPSCR                                       ; +0x1e, 0x55b26\nIT GT                                                                  ; +0x22, 0x55b2a\nVMOVGT.F32      S0, S4                                                 ; +0x24, 0x55b2c\nVSTR            S0, [R0,#0x6C]                                         ; +0x28, 0x55b30\nVMOV            S0, R2                                                 ; +0x2c, 0x55b34\nVLDR            S4, =360.0                                             ; +0x30, 0x55b38\nVCMPE.F32       S0, #0.0                                               ; +0x34, 0x55b3c\nVMRS            APSR_nzcv, FPSCR                                       ; +0x38, 0x55b40\nIT LT                                                                  ; +0x3c, 0x55b44\nVMOVLT.F32      S0, S2                                                 ; +0x3e, 0x55b46\nVCMPE.F32       S0, S4                                                 ; +0x42, 0x55b4a\nVMRS            APSR_nzcv, FPSCR                                       ; +0x46, 0x55b4e\nIT GT                                                                  ; +0x4a, 0x55b52\nVMOVGT.F32      S0, S4                                                 ; +0x4c, 0x55b54\nVSTR            S0, [R0,#0x68]                                         ; +0x50, 0x55b58\nVMOV            S0, R1                                                 ; +0x54, 0x55b5c\nVCMPE.F32       S0, #0.0                                               ; +0x58, 0x55b60\nVMRS            APSR_nzcv, FPSCR                                       ; +0x5c, 0x55b64\nIT LT                                                                  ; +0x60, 0x55b68\nVMOVLT.F32      S0, S2                                                 ; +0x62, 0x55b6a\nVCMPE.F32       S0, S4                                                 ; +0x66, 0x55b6e\nVMRS            APSR_nzcv, FPSCR                                       ; +0x6a, 0x55b72\nIT GT                                                                  ; +0x6e, 0x55b76\nVMOVGT.F32      S0, S4                                                 ; +0x70, 0x55b78\nVSTR            S0, [R0,#0x64]                                         ; +0x74, 0x55b7c\nMOVS            R0, #0                                                 ; +0x78, 0x55b80\nBX              LR                                                     ; +0x7a, 0x55b82", "xrefs": ["<???> @ 0x55b06", "sub_54452 @ 0x54452"], "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"}