{"type": "func", "start": 751960, "end": 752052, "name": "sub_B7958", "pseudocode": "// \n// sub_B7958 from 0xb7958 to 0xb79b4 (92 bytes)\n// \n// 1 xrefs:\n// > sub_B7A18 @ 0xb7a24\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_B7958(__int64 a1, int a2, _DWORD *a3, __int64 a4)\n{\n  float v4; // s0\n\n  if ( a2 == 1 )\n  {\n    *a3 = *(_DWORD *)(a1 + 820);\n    if ( a4 )\n    {\n      v4 = *(float *)(a1 + 820);\n      goto LABEL_7;\n    }\n  }\n  else if ( !a2 )\n  {\n    *a3 = *(_DWORD *)(a1 + 824);\n    if ( a4 )\n    {\n      v4 = *(float *)(a1 + 824);\nLABEL_7:\n      sub_E3FC8(a4, 32, \"%.02f\", v4);\n    }\n  }\n  return 0;\n}", "assembly": "; \n; sub_B7958 from 0xb7958 to 0xb79b4 (92 bytes)\n; \n; 1 xrefs:\n; > sub_B7A18 @ 0xb7a24\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; \nSTP             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0xb7958\nCMP             W1, #1                                                 ; +0x4, 0xb795c\nMOV             X29, SP                                                ; +0x8, 0xb7960\nB.EQ            loc_B7980                                              ; +0xc, 0xb7964\nCBNZ            W1, loc_B79A8                                          ; +0x10, 0xb7968\nLDR             W8, [X0,#0x338]                                        ; +0x14, 0xb796c\nSTR             W8, [X2]                                               ; +0x18, 0xb7970\nCBZ             X3, loc_B79A8                                          ; +0x1c, 0xb7974\nLDR             S0, [X0,#0x338]                                        ; +0x20, 0xb7978\nB               loc_B7990                                              ; +0x24, 0xb797c\nLDR             W8, [X0,#0x334]                                        ; +0x28, 0xb7980\nSTR             W8, [X2]                                               ; +0x2c, 0xb7984\nCBZ             X3, loc_B79A8                                          ; +0x30, 0xb7988\nLDR             S0, [X0,#0x334]                                        ; +0x34, 0xb798c\nADRP            X2, #a02f@PAGE; \"%.02f\"                                ; +0x38, 0xb7990\nFCVT            D0, S0                                                 ; +0x3c, 0xb7994\nADD             X2, X2, #a02f@PAGEOFF; \"%.02f\"                         ; +0x40, 0xb7998\nMOV             W1, #0x20 ; ' '                                        ; +0x44, 0xb799c\nMOV             X0, X3                                                 ; +0x48, 0xb79a0\nBL              sub_E3FC8                                              ; +0x4c, 0xb79a4\nMOV             W0, WZR                                                ; +0x50, 0xb79a8\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x54, 0xb79ac\nRET                                                                    ; +0x58, 0xb79b0", "xrefs": ["sub_B7A18 @ 0xb7a24"], "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"}