{"type": "func", "start": 743380, "end": 743428, "name": "sub_B57D4", "pseudocode": "// \n// sub_B57D4 from 0xb57d4 to 0xb5804 (48 bytes)\n// \n// 1 xrefs:\n// > sub_B4934 @ 0xb4968\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:38 +0000\n// \n\n__int64 __fastcall sub_B57D4(__int64 a1)\n{\n  __int64 v1; // x1\n  int v2; // w8\n  __int64 result; // x0\n\n  v1 = *(unsigned int *)(a1 + 8);\n  v2 = *(_DWORD *)(a1 + 12);\n  if ( v2 < 0 )\n    v2 = -v2;\n  if ( (int)v1 >= v2 )\n    return 0;\n  result = sub_B5804(a1, v1);\n  if ( !(_DWORD)result )\n    return 0;\n  return result;\n}", "assembly": "; \n; sub_B57D4 from 0xb57d4 to 0xb5804 (48 bytes)\n; \n; 1 xrefs:\n; > sub_B4934 @ 0xb4968\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:38 +0000\n; \nSTP             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0xb57d4\nLDP             W1, W8, [X0,#8]                                        ; +0x4, 0xb57d8\nMOV             X29, SP                                                ; +0x8, 0xb57dc\nCMP             W8, #0                                                 ; +0xc, 0xb57e0\nCNEG            W8, W8, MI                                             ; +0x10, 0xb57e4\nCMP             W1, W8                                                 ; +0x14, 0xb57e8\nB.GE            loc_B57F8                                              ; +0x18, 0xb57ec\nBL              sub_B5804                                              ; +0x1c, 0xb57f0\nCBNZ            W0, loc_B57FC                                          ; +0x20, 0xb57f4\nMOV             W0, WZR                                                ; +0x24, 0xb57f8\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x28, 0xb57fc\nRET                                                                    ; +0x2c, 0xb5800", "xrefs": ["sub_B4934 @ 0xb4968"], "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"}