{"type": "func", "start": 732812, "end": 732904, "name": "sub_B2E8C", "pseudocode": "// \n// sub_B2E8C from 0xb2e8c to 0xb2ee8 (92 bytes)\n// \n// 1 xrefs:\n// > sub_B2F38 @ 0xb2f40\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_B2E8C(__int64 a1, int a2, _DWORD *a3, __int64 a4)\n{\n  float v4; // s0\n\n  if ( a2 == 1 )\n  {\n    *a3 = *(_DWORD *)(a1 + 1096);\n    if ( a4 )\n    {\n      v4 = *(float *)(a1 + 1096);\n      goto LABEL_7;\n    }\n  }\n  else if ( !a2 )\n  {\n    *a3 = *(_DWORD *)(a1 + 1092);\n    if ( a4 )\n    {\n      v4 = *(float *)(a1 + 1092);\nLABEL_7:\n      sub_E3FC8(a4, 32, \"%.02f\", v4);\n    }\n  }\n  return 0;\n}", "assembly": "; \n; sub_B2E8C from 0xb2e8c to 0xb2ee8 (92 bytes)\n; \n; 1 xrefs:\n; > sub_B2F38 @ 0xb2f40\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\nSTP             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0xb2e8c\nCMP             W1, #1                                                 ; +0x4, 0xb2e90\nMOV             X29, SP                                                ; +0x8, 0xb2e94\nB.EQ            loc_B2EB4                                              ; +0xc, 0xb2e98\nCBNZ            W1, loc_B2EDC                                          ; +0x10, 0xb2e9c\nLDR             W8, [X0,#0x444]                                        ; +0x14, 0xb2ea0\nSTR             W8, [X2]                                               ; +0x18, 0xb2ea4\nCBZ             X3, loc_B2EDC                                          ; +0x1c, 0xb2ea8\nLDR             S0, [X0,#0x444]                                        ; +0x20, 0xb2eac\nB               loc_B2EC4                                              ; +0x24, 0xb2eb0\nLDR             W8, [X0,#0x448]                                        ; +0x28, 0xb2eb4\nSTR             W8, [X2]                                               ; +0x2c, 0xb2eb8\nCBZ             X3, loc_B2EDC                                          ; +0x30, 0xb2ebc\nLDR             S0, [X0,#0x448]                                        ; +0x34, 0xb2ec0\nADRP            X2, #a02f@PAGE; \"%.02f\"                                ; +0x38, 0xb2ec4\nFCVT            D0, S0                                                 ; +0x3c, 0xb2ec8\nADD             X2, X2, #a02f@PAGEOFF; \"%.02f\"                         ; +0x40, 0xb2ecc\nMOV             W1, #0x20 ; ' '                                        ; +0x44, 0xb2ed0\nMOV             X0, X3                                                 ; +0x48, 0xb2ed4\nBL              sub_E3FC8                                              ; +0x4c, 0xb2ed8\nMOV             W0, WZR                                                ; +0x50, 0xb2edc\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x54, 0xb2ee0\nRET                                                                    ; +0x58, 0xb2ee4", "xrefs": ["sub_B2F38 @ 0xb2f40"], "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"}