{"type": "func", "start": 778922, "end": 778940, "name": "sub_BE2AA", "pseudocode": "// \n// sub_BE2AA from 0xbe2aa to 0xbe2bc (18 bytes)\n// \n// 8 xrefs:\n// > sub_4EFF6 @ 0x4f01e\n// > sub_4EFF6 @ 0x4f044\n// > sub_4F0BE @ 0x4f0f2\n// > sub_4F128 @ 0x4f152\n// > sub_58BB0 @ 0x58c16\n// > sub_5B0B8 @ 0x5b2d6\n// > sub_BDD40 @ 0xbdd78\n// > sub_BE2AA @ 0xbe2b6\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\nint __fastcall sub_BE2AA(_BYTE *a1, unsigned __int8 *a2)\n{\n  int v2; // r3\n  int v3; // r2\n\n  do\n  {\n    v2 = (unsigned __int8)*a1;\n    v3 = *a2;\n    if ( !*a1 )\n      break;\n    ++a1;\n    ++a2;\n  }\n  while ( v2 == v3 );\n  return v2 - v3;\n}", "assembly": "; \n; sub_BE2AA from 0xbe2aa to 0xbe2bc (18 bytes)\n; \n; 8 xrefs:\n; > sub_4EFF6 @ 0x4f01e\n; > sub_4EFF6 @ 0x4f044\n; > sub_4F0BE @ 0x4f0f2\n; > sub_4F128 @ 0x4f152\n; > sub_58BB0 @ 0x58c16\n; > sub_5B0B8 @ 0x5b2d6\n; > sub_BDD40 @ 0xbdd78\n; > sub_BE2AA @ 0xbe2b6\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\nLDRB            R3, [R0]                                               ; +0x0, 0xbe2aa\nLDRB            R2, [R1]                                               ; +0x2, 0xbe2ac\nCBZ             R3, loc_BE2B8                                          ; +0x4, 0xbe2ae\nADDS            R0, #1                                                 ; +0x6, 0xbe2b0\nADDS            R1, #1                                                 ; +0x8, 0xbe2b2\nCMP             R3, R2                                                 ; +0xa, 0xbe2b4\nBEQ             sub_BE2AA                                              ; +0xc, 0xbe2b6\nSUBS            R0, R3, R2                                             ; +0xe, 0xbe2b8\nBX              LR                                                     ; +0x10, 0xbe2ba", "xrefs": ["sub_4EFF6 @ 0x4f01e", "sub_4EFF6 @ 0x4f044", "sub_4F0BE @ 0x4f0f2", "sub_4F128 @ 0x4f152", "sub_58BB0 @ 0x58c16", "sub_5B0B8 @ 0x5b2d6", "sub_BDD40 @ 0xbdd78", "sub_BE2AA @ 0xbe2b6"], "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"}