{"type": "func", "start": 522144, "end": 522284, "name": "sub_7F7A0", "pseudocode": "// \n// sub_7F7A0 from 0x7f7a0 to 0x7f82c (140 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x114dc0\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_7F7A0(__int64 *a1, int a2, _QWORD *a3, _DWORD *a4, _BYTE *a5)\n{\n  __int64 v5; // x22\n  float v7; // s8\n  float v10; // s0\n  __int64 result; // x0\n\n  if ( a2 != 4 )\n    return 31;\n  v5 = *a1;\n  v7 = *(float *)(*a1 + 756);\n  sub_7FA68(0.05);\n  if ( v7 <= -80.0 )\n    v10 = 0.0;\n  result = 0;\n  *(float *)(v5 + 768) = v10;\n  *a3 = v5 + 764;\n  *a4 = 8;\n  if ( a5 )\n    *a5 = 0;\n  return result;\n}", "assembly": "; \n; sub_7F7A0 from 0x7f7a0 to 0x7f82c (140 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x114dc0\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\nSTR             D8, [SP,#-0x10+var_30]!                                ; +0x0, 0x7f7a0\nCMP             W1, #4                                                 ; +0x4, 0x7f7a4\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x8, 0x7f7a8\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0xc, 0x7f7ac\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x10, 0x7f7b0\nADD             X29, SP, #0x30                                         ; +0x14, 0x7f7b4\nB.NE            loc_7F814                                              ; +0x18, 0x7f7b8\nLDR             X22, [X0]                                              ; +0x1c, 0x7f7bc\nADRP            X8, #dword_2F02C@PAGE                                  ; +0x20, 0x7f7c0\nLDR             S0, [X8,#dword_2F02C@PAGEOFF]                          ; +0x24, 0x7f7c4\nMOV             X19, X4                                                ; +0x28, 0x7f7c8\nLDR             S8, [X22,#0x2F4]                                       ; +0x2c, 0x7f7cc\nMOV             X20, X3                                                ; +0x30, 0x7f7d0\nMOV             X21, X2                                                ; +0x34, 0x7f7d4\nBL              sub_7FA68                                              ; +0x38, 0x7f7d8\nMOV             W8, #0xC2A00000                                        ; +0x3c, 0x7f7dc\nFMOV            S2, W8                                                 ; +0x40, 0x7f7e0\nFMOV            S1, WZR                                                ; +0x44, 0x7f7e4\nFCMP            S8, S2                                                 ; +0x48, 0x7f7e8\nADD             X9, X22, #0x2FC                                        ; +0x4c, 0x7f7ec\nMOV             W10, #8                                                ; +0x50, 0x7f7f0\nFCSEL           S0, S0, S1, GT                                         ; +0x54, 0x7f7f4\nMOV             W0, WZR                                                ; +0x58, 0x7f7f8\nSTR             S0, [X22,#0x300]                                       ; +0x5c, 0x7f7fc\nSTR             X9, [X21]                                              ; +0x60, 0x7f800\nSTR             W10, [X20]                                             ; +0x64, 0x7f804\nCBZ             X19, loc_7F818                                         ; +0x68, 0x7f808\nSTRB            WZR, [X19]                                             ; +0x6c, 0x7f80c\nB               loc_7F818                                              ; +0x70, 0x7f810\nMOV             W0, #0x1F                                              ; +0x74, 0x7f814\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x78, 0x7f818\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x7c, 0x7f81c\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x80, 0x7f820\nLDR             D8, [SP+0x30+var_30],#0x40                             ; +0x84, 0x7f824\nRET                                                                    ; +0x88, 0x7f828", "xrefs": ["<???> @ 0x114dc0"], "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"}