{"type": "func", "start": 10318380, "end": 10318456, "name": "ASN1_check_infinite_end", "pseudocode": "// \n// ASN1_check_infinite_end from 0x9d722c to 0x9d7278 (76 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x781cc\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:07:15 +0000\n// \n\nint __fastcall ASN1_check_infinite_end(_DWORD *a1, int a2)\n{\n  _BYTE *v2; // r2\n\n  if ( a2 <= 0 )\n    return 1;\n  if ( a2 == 1 )\n    return 0;\n  v2 = (_BYTE *)*a1;\n  if ( *(_BYTE *)*a1 || v2[1] )\n    return 0;\n  *a1 = v2 + 2;\n  return 1;\n}", "assembly": "; \n; ASN1_check_infinite_end from 0x9d722c to 0x9d7278 (76 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x781cc\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:07:15 +0000\n; \nCMP             R1, #0                                                 ; +0x0, 0x9d722c\nBLE             loc_9D7270                                             ; +0x4, 0x9d7230\nCMP             R1, #1                                                 ; +0x8, 0x9d7234\nBEQ             loc_9D7268                                             ; +0xc, 0x9d7238\nLDR             R2, [R0]                                               ; +0x10, 0x9d723c\nLDRB            R3, [R2]                                               ; +0x14, 0x9d7240\nCMP             R3, #0                                                 ; +0x18, 0x9d7244\nBNE             loc_9D7268                                             ; +0x1c, 0x9d7248\nLDRB            R1, [R2,#1]                                            ; +0x20, 0x9d724c\nCMP             R1, #0                                                 ; +0x24, 0x9d7250\nBNE             loc_9D7268                                             ; +0x28, 0x9d7254\nADD             R2, R2, #2                                             ; +0x2c, 0x9d7258\nSTR             R2, [R0]                                               ; +0x30, 0x9d725c\nMOV             R0, #1                                                 ; +0x34, 0x9d7260\nBX              LR                                                     ; +0x38, 0x9d7264\nMOV             R0, #0                                                 ; +0x3c, 0x9d7268\nBX              LR                                                     ; +0x40, 0x9d726c\nMOV             R0, #1                                                 ; +0x44, 0x9d7270\nBX              LR                                                     ; +0x48, 0x9d7274", "xrefs": ["<???> @ 0x781cc"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}