{"type": "func", "start": 352336, "end": 352392, "name": "sub_56050", "pseudocode": "// \n// sub_56050 from 0x56050 to 0x56088 (56 bytes)\n// \n// 2 xrefs:\n// > sub_58BE0 @ 0x58c0c\n// > sub_5BD70 @ 0x5bd9c\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_56050(__int64 a1, unsigned int a2, float a3)\n{\n  if ( (~LODWORD(a3) & 0x7F800000) == 0 )\n    return 29;\n  if ( a2 > 3 )\n    return 59;\n  *(float *)(a1 + 4LL * (int)a2 + 316) = a3;\n  return 0;\n}", "assembly": "; \n; sub_56050 from 0x56050 to 0x56088 (56 bytes)\n; \n; 2 xrefs:\n; > sub_58BE0 @ 0x58c0c\n; > sub_5BD70 @ 0x5bd9c\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, 0x56050\nMVN             W8, W8                                                 ; +0x4, 0x56054\nTST             W8, #0x7F800000                                        ; +0x8, 0x56058\nB.NE            loc_56064                                              ; +0xc, 0x5605c\nB               loc_5795C                                              ; +0x10, 0x56060\nCMP             W1, #3                                                 ; +0x14, 0x56064\nB.LS            loc_56074                                              ; +0x18, 0x56068\nMOV             W0, #0x3B ; ';'                                        ; +0x1c, 0x5606c\nRET                                                                    ; +0x20, 0x56070\nMOV             X8, X0                                                 ; +0x24, 0x56074\nMOV             W0, WZR                                                ; +0x28, 0x56078\nADD             X8, X8, W1,SXTW#2                                      ; +0x2c, 0x5607c\nSTR             S0, [X8,#0x13C]                                        ; +0x30, 0x56080\nRET                                                                    ; +0x34, 0x56084", "xrefs": ["sub_58BE0 @ 0x58c0c", "sub_5BD70 @ 0x5bd9c"], "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"}