{"type": "func", "start": 747896, "end": 747944, "name": "sub_B6978", "pseudocode": "// \n// sub_B6978 from 0xb6978 to 0xb69a8 (48 bytes)\n// \n// 1 xrefs:\n// > sub_B6A84 @ 0xb6a90\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:14:39 +0000\n// \n\n__int64 __fastcall sub_B6978(float *a1, int a2, float a3)\n{\n  float v3; // s1\n\n  if ( a2 == 1 )\n  {\n    a1[291] = a3;\n  }\n  else if ( !a2 )\n  {\n    v3 = a1[138];\n    a1[292] = a3;\n    if ( v3 <= a3 )\n      a1[292] = v3;\n  }\n  return 0;\n}", "assembly": "; \n; sub_B6978 from 0xb6978 to 0xb69a8 (48 bytes)\n; \n; 1 xrefs:\n; > sub_B6A84 @ 0xb6a90\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:14:39 +0000\n; \nCMP             W1, #1                                                 ; +0x0, 0xb6978\nB.EQ            loc_B699C                                              ; +0x4, 0xb697c\nCBNZ            W1, loc_B69A0                                          ; +0x8, 0xb6980\nLDR             S1, [X0,#0x228]                                        ; +0xc, 0xb6984\nSTR             S0, [X0,#0x490]                                        ; +0x10, 0xb6988\nFCMP            S1, S0                                                 ; +0x14, 0xb698c\nB.GT            loc_B69A0                                              ; +0x18, 0xb6990\nSTR             S1, [X0,#0x490]                                        ; +0x1c, 0xb6994\nB               loc_B69A0                                              ; +0x20, 0xb6998\nSTR             S0, [X0,#0x48C]                                        ; +0x24, 0xb699c\nMOV             W0, WZR                                                ; +0x28, 0xb69a0\nRET                                                                    ; +0x2c, 0xb69a4", "xrefs": ["sub_B6A84 @ 0xb6a90"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}