{"type": "func", "start": 816192, "end": 816248, "name": "sub_C7440", "pseudocode": "// \n// sub_C7440 from 0xc7440 to 0xc7478 (56 bytes)\n// \n// 2 xrefs:\n// > sub_5382C @ 0x53898\n// > <???> @ 0x10ef40\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_C7440(__int64 a1, float a2)\n{\n  if ( a2 >= 0.0 )\n  {\n    if ( *(_QWORD *)(a1 + 552) && (*(_BYTE *)(*(_QWORD *)(a1 + 544) + 56LL) & 4) == 0 )\n      *(_DWORD *)(a1 + 584) = 0;\n  }\n  else\n  {\n    *(_DWORD *)(a1 + 584) = 1;\n    a2 = -a2;\n  }\n  *(float *)(a1 + 560) = a2;\n  return 0;\n}", "assembly": "; \n; sub_C7440 from 0xc7440 to 0xc7478 (56 bytes)\n; \n; 2 xrefs:\n; > sub_5382C @ 0x53898\n; > <???> @ 0x10ef40\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\nFCMP            S0, #0.0                                               ; +0x0, 0xc7440\nB.GE            loc_C7458                                              ; +0x4, 0xc7444\nMOV             W8, #1                                                 ; +0x8, 0xc7448\nSTR             W8, [X0,#0x248]                                        ; +0xc, 0xc744c\nFNEG            S0, S0                                                 ; +0x10, 0xc7450\nB               loc_C7470                                              ; +0x14, 0xc7454\nLDR             X8, [X0,#0x228]                                        ; +0x18, 0xc7458\nCBZ             X8, loc_C7470                                          ; +0x1c, 0xc745c\nLDR             X8, [X0,#0x220]                                        ; +0x20, 0xc7460\nLDRB            W8, [X8,#0x38]                                         ; +0x24, 0xc7464\nTBNZ            W8, #2, loc_C7470                                      ; +0x28, 0xc7468\nSTR             WZR, [X0,#0x248]                                       ; +0x2c, 0xc746c\nSTR             S0, [X0,#0x230]                                        ; +0x30, 0xc7470\nB               loc_C7580                                              ; +0x34, 0xc7474", "xrefs": ["sub_5382C @ 0x53898", "<???> @ 0x10ef40"], "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"}