{"type": "func", "start": 723272, "end": 723368, "name": "sub_B0948", "pseudocode": "// \n// sub_B0948 from 0xb0948 to 0xb09a8 (96 bytes)\n// \n// 1 xrefs:\n// > sub_B06E8 @ 0xb0784\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_QWORD *__fastcall sub_B0948(_QWORD *result, _QWORD *a2, __int64 a3, unsigned __int64 a4)\n{\n  _QWORD *v4; // x8\n  _QWORD **v5; // x9\n\n  v4 = (_QWORD *)*a2;\n  while ( v4[3] <= a4 )\n  {\n    v4 = (_QWORD *)*v4;\n    if ( v4[1] == a3 )\n    {\n      result[3] = a4;\n      result[1] = *(_QWORD *)(a3 + 8);\n      v5 = (_QWORD **)(result + 1);\n      *result = a3;\n      *(_QWORD *)(a3 + 8) = result;\n      goto LABEL_6;\n    }\n  }\n  result[3] = a4;\n  result[1] = v4[1];\n  v5 = (_QWORD **)(result + 1);\n  *result = v4;\n  v4[1] = result;\nLABEL_6:\n  **v5 = result;\n  return result;\n}", "assembly": "; \n; sub_B0948 from 0xb0948 to 0xb09a8 (96 bytes)\n; \n; 1 xrefs:\n; > sub_B06E8 @ 0xb0784\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\nLDR             X8, [X1]                                               ; +0x0, 0xb0948\nLDR             X9, [X8,#0x18]                                         ; +0x4, 0xb094c\nCMP             X9, X3                                                 ; +0x8, 0xb0950\nB.HI            loc_B0984                                              ; +0xc, 0xb0954\nLDR             X8, [X8]                                               ; +0x10, 0xb0958\nLDR             X9, [X8,#8]                                            ; +0x14, 0xb095c\nCMP             X9, X2                                                 ; +0x18, 0xb0960\nB.NE            loc_B094C                                              ; +0x1c, 0xb0964\nSTR             X3, [X0,#0x18]                                         ; +0x20, 0xb0968\nLDR             X8, [X2,#8]                                            ; +0x24, 0xb096c\nMOV             X9, X0                                                 ; +0x28, 0xb0970\nSTR             X8, [X9,#8]!                                           ; +0x2c, 0xb0974\nSTR             X2, [X0]                                               ; +0x30, 0xb0978\nSTR             X0, [X2,#8]                                            ; +0x34, 0xb097c\nB               loc_B099C                                              ; +0x38, 0xb0980\nSTR             X3, [X0,#0x18]                                         ; +0x3c, 0xb0984\nLDR             X10, [X8,#8]                                           ; +0x40, 0xb0988\nMOV             X9, X0                                                 ; +0x44, 0xb098c\nSTR             X10, [X9,#8]!                                          ; +0x48, 0xb0990\nSTR             X8, [X0]                                               ; +0x4c, 0xb0994\nSTR             X0, [X8,#8]                                            ; +0x50, 0xb0998\nLDR             X8, [X9]                                               ; +0x54, 0xb099c\nSTR             X0, [X8]                                               ; +0x58, 0xb09a0\nRET                                                                    ; +0x5c, 0xb09a4", "xrefs": ["sub_B06E8 @ 0xb0784"], "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"}