{"type": "func", "start": 743764, "end": 743836, "name": "sub_B5954", "pseudocode": "// \n// sub_B5954 from 0xb5954 to 0xb599c (72 bytes)\n// \n// 1 xrefs:\n// > sub_B4A10 @ 0xb4a4c\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_B5954(__int64 a1, int a2)\n{\n  int v2; // w8\n  unsigned int v4; // w0\n  __int64 result; // x0\n\n  v2 = *(_DWORD *)(a1 + 12);\n  if ( v2 < 0 )\n    v2 = -v2;\n  if ( v2 >= a2 )\n    return 0;\n  v4 = sub_B599C();\n  result = sub_B5804(a1, v4);\n  if ( !(_DWORD)result )\n    return 0;\n  return result;\n}", "assembly": "; \n; sub_B5954 from 0xb5954 to 0xb599c (72 bytes)\n; \n; 1 xrefs:\n; > sub_B4A10 @ 0xb4a4c\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             X19, [SP,#-0x10+var_10]!                               ; +0x0, 0xb5954\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0xb5958\nLDR             W8, [X0,#0xC]                                          ; +0x8, 0xb595c\nADD             X29, SP, #0x10                                         ; +0xc, 0xb5960\nCMP             W8, #0                                                 ; +0x10, 0xb5964\nCNEG            W8, W8, MI                                             ; +0x14, 0xb5968\nCMP             W8, W1                                                 ; +0x18, 0xb596c\nB.GE            loc_B598C                                              ; +0x1c, 0xb5970\nMOV             X19, X0                                                ; +0x20, 0xb5974\nBL              sub_B599C                                              ; +0x24, 0xb5978\nMOV             W1, W0                                                 ; +0x28, 0xb597c\nMOV             X0, X19                                                ; +0x2c, 0xb5980\nBL              sub_B5804                                              ; +0x30, 0xb5984\nCBNZ            W0, loc_B5990                                          ; +0x34, 0xb5988\nMOV             W0, WZR                                                ; +0x38, 0xb598c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x3c, 0xb5990\nLDR             X19, [SP+0x10+var_10],#0x20                            ; +0x40, 0xb5994\nRET                                                                    ; +0x44, 0xb5998", "xrefs": ["sub_B4A10 @ 0xb4a4c"], "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"}