{"type": "func", "start": 440136, "end": 440194, "name": "sub_6B748", "pseudocode": "// \n// sub_6B748 from 0x6b748 to 0x6b782 (58 bytes)\n// \n// 1 xrefs:\n// > sub_52286 @ 0x522b4\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_6B748(int a1, unsigned __int8 *a2)\n{\n  int v2; // r1\n  int v3; // r2\n  int v4; // r4\n  int v5; // r3\n  int v6; // r5\n  bool v7; // zf\n\n  if ( !*(_BYTE *)(a1 + 624) )\n  {\n    v3 = *a2;\n    v4 = 0;\n    v5 = a2[1];\n    while ( v4 != 512 )\n    {\n      if ( *(unsigned __int8 *)(a1 + v4 + 628) == v3 )\n      {\n        v6 = *(unsigned __int8 *)(a1 + v4 + 629);\n        v2 = 1;\n        v7 = v6 == 255;\n        if ( v6 != 255 )\n          v7 = v6 == v5;\n        if ( v7 )\n          return v2;\n      }\n      v4 += 16;\n    }\n  }\n  return 0;\n}", "assembly": "; \n; sub_6B748 from 0x6b748 to 0x6b782 (58 bytes)\n; \n; 1 xrefs:\n; > sub_52286 @ 0x522b4\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\nPUSH            {R4,R5,R7,LR}                                          ; +0x0, 0x6b748\nADD             R7, SP, #8                                             ; +0x2, 0x6b74a\nLDRB.W          R2, [R0,#0x270]                                        ; +0x4, 0x6b74c\nCBZ             R2, loc_6B756                                          ; +0x8, 0x6b750\nMOVS            R1, #0                                                 ; +0xa, 0x6b752\nB               loc_6B77E                                              ; +0xc, 0x6b754\nLDRB            R2, [R1]                                               ; +0xe, 0x6b756\nMOVS            R4, #0                                                 ; +0x10, 0x6b758\nLDRB            R3, [R1,#1]                                            ; +0x12, 0x6b75a\nB               loc_6B760                                              ; +0x14, 0x6b75c\nADDS            R4, #0x10                                              ; +0x16, 0x6b75e\nCMP.W           R4, #0x200                                             ; +0x18, 0x6b760\nBEQ             loc_6B752                                              ; +0x1c, 0x6b764\nADDS            R1, R0, R4                                             ; +0x1e, 0x6b766\nLDRB.W          R5, [R1,#0x274]                                        ; +0x20, 0x6b768\nCMP             R5, R2                                                 ; +0x24, 0x6b76c\nBNE             loc_6B75E                                              ; +0x26, 0x6b76e\nLDRB.W          R5, [R1,#0x275]                                        ; +0x28, 0x6b770\nMOVS            R1, #1                                                 ; +0x2c, 0x6b774\nCMP             R5, #0xFF                                              ; +0x2e, 0x6b776\nIT NE                                                                  ; +0x30, 0x6b778\nCMPNE           R5, R3                                                 ; +0x32, 0x6b77a\nBNE             loc_6B75E                                              ; +0x34, 0x6b77c\nMOV             R0, R1                                                 ; +0x36, 0x6b77e\nPOP             {R4,R5,R7,PC}                                          ; +0x38, 0x6b780", "xrefs": ["sub_52286 @ 0x522b4"], "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"}