{"type": "func", "start": 10318456, "end": 10318532, "name": "ASN1_const_check_infinite_end", "pseudocode": "// \n// ASN1_const_check_infinite_end from 0x9d7278 to 0x9d72c4 (76 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x781dc\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_const_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_const_check_infinite_end from 0x9d7278 to 0x9d72c4 (76 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x781dc\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, 0x9d7278\nBLE             loc_9D72BC                                             ; +0x4, 0x9d727c\nCMP             R1, #1                                                 ; +0x8, 0x9d7280\nBEQ             loc_9D72B4                                             ; +0xc, 0x9d7284\nLDR             R2, [R0]                                               ; +0x10, 0x9d7288\nLDRB            R3, [R2]                                               ; +0x14, 0x9d728c\nCMP             R3, #0                                                 ; +0x18, 0x9d7290\nBNE             loc_9D72B4                                             ; +0x1c, 0x9d7294\nLDRB            R1, [R2,#1]                                            ; +0x20, 0x9d7298\nCMP             R1, #0                                                 ; +0x24, 0x9d729c\nBNE             loc_9D72B4                                             ; +0x28, 0x9d72a0\nADD             R2, R2, #2                                             ; +0x2c, 0x9d72a4\nSTR             R2, [R0]                                               ; +0x30, 0x9d72a8\nMOV             R0, #1                                                 ; +0x34, 0x9d72ac\nBX              LR                                                     ; +0x38, 0x9d72b0\nMOV             R0, #0                                                 ; +0x3c, 0x9d72b4\nBX              LR                                                     ; +0x40, 0x9d72b8\nMOV             R0, #1                                                 ; +0x44, 0x9d72bc\nBX              LR                                                     ; +0x48, 0x9d72c0", "xrefs": ["<???> @ 0x781dc"], "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"}