{"type": "func", "start": 724240, "end": 724392, "name": "sub_B0D10", "pseudocode": "// \n// sub_B0D10 from 0xb0d10 to 0xb0da8 (152 bytes)\n// \n// 1 xrefs:\n// > sub_B0EB8 @ 0xb0ebc\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_B0D10(__int64 a1, int a2, _QWORD *a3, _DWORD *a4, _BYTE *a5)\n{\n  float v5; // s8\n  float v10; // s0\n  __int64 result; // x0\n\n  if ( a2 != 1 )\n    return 31;\n  v5 = *(float *)(a1 + 572);\n  v10 = powf(10.0, v5 * 0.05);\n  if ( v5 <= -80.0 )\n    v10 = 0.0;\n  result = 0;\n  *(float *)(a1 + 696) = v10;\n  *(_DWORD *)(a1 + 700) = 0;\n  *a3 = a1 + 696;\n  *a4 = 8;\n  if ( a5 )\n    *a5 = 0;\n  return result;\n}", "assembly": "; \n; sub_B0D10 from 0xb0d10 to 0xb0da8 (152 bytes)\n; \n; 1 xrefs:\n; > sub_B0EB8 @ 0xb0ebc\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, 0xb0d10\nCMP             W1, #1                                                 ; +0x4, 0xb0d14\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x8, 0xb0d18\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0xc, 0xb0d1c\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x10, 0xb0d20\nADD             X29, SP, #0x30                                         ; +0x14, 0xb0d24\nB.NE            loc_B0D90                                              ; +0x18, 0xb0d28\nADRP            X8, #dword_2F02C@PAGE                                  ; +0x1c, 0xb0d2c\nLDR             S8, [X0,#0x23C]                                        ; +0x20, 0xb0d30\nLDR             S0, [X8,#dword_2F02C@PAGEOFF]                          ; +0x24, 0xb0d34\nMOV             X19, X4                                                ; +0x28, 0xb0d38\nMOV             X20, X3                                                ; +0x2c, 0xb0d3c\nMOV             X21, X2                                                ; +0x30, 0xb0d40\nFMUL            S1, S8, S0; y                                          ; +0x34, 0xb0d44\nFMOV            S0, #10.0; x                                           ; +0x38, 0xb0d48\nMOV             X22, X0                                                ; +0x3c, 0xb0d4c\nBL              .powf                                                  ; +0x40, 0xb0d50\nMOV             W8, #0xC2A00000                                        ; +0x44, 0xb0d54\nFMOV            S2, W8                                                 ; +0x48, 0xb0d58\nFMOV            S1, WZR                                                ; +0x4c, 0xb0d5c\nFCMP            S8, S2                                                 ; +0x50, 0xb0d60\nADD             X9, X22, #0x2B8                                        ; +0x54, 0xb0d64\nMOV             W10, #8                                                ; +0x58, 0xb0d68\nFCSEL           S0, S0, S1, GT                                         ; +0x5c, 0xb0d6c\nMOV             W0, WZR                                                ; +0x60, 0xb0d70\nSTR             S0, [X22,#0x2B8]                                       ; +0x64, 0xb0d74\nSTR             WZR, [X9,#4]                                           ; +0x68, 0xb0d78\nSTR             X9, [X21]                                              ; +0x6c, 0xb0d7c\nSTR             W10, [X20]                                             ; +0x70, 0xb0d80\nCBZ             X19, loc_B0D94                                         ; +0x74, 0xb0d84\nSTRB            WZR, [X19]                                             ; +0x78, 0xb0d88\nB               loc_B0D94                                              ; +0x7c, 0xb0d8c\nMOV             W0, #0x1F                                              ; +0x80, 0xb0d90\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x84, 0xb0d94\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x88, 0xb0d98\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x8c, 0xb0d9c\nLDR             D8, [SP+0x30+var_30],#0x40                             ; +0x90, 0xb0da0\nRET                                                                    ; +0x94, 0xb0da4", "xrefs": ["sub_B0EB8 @ 0xb0ebc"], "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"}