{"type": "func", "start": 16750684, "end": 16750812, "name": "BN_clear_bit", "pseudocode": "// \n// BN_clear_bit from 0xff985c to 0xff98dc (128 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0xd8400\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 13:15:50 +0000\n// \n\n__int64 __fastcall BN_clear_bit(__int64 a1, int a2)\n{\n  if ( a2 < 0 )\n    return 0;\n  if ( a2 >> 6 >= *(_DWORD *)(a1 + 8) )\n    return 0;\n  *(_QWORD *)(*(_QWORD *)a1 + 8LL * (a2 >> 6)) &= ~(1LL << (a2 & 0x3F));\n  bn_correct_top(a1);\n  return 1;\n}", "assembly": "; \n; BN_clear_bit from 0xff985c to 0xff98dc (128 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0xd8400\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 13:15:50 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0xff985c\nMOV             X29, SP                                                ; +0x4, 0xff9860\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0xff9864\nTBNZ            W1, #0x1F, loc_FF98C8                                  ; +0xc, 0xff9868\nLDR             W5, [X0,#8]                                            ; +0x10, 0xff986c\nASR             W3, W1, #6                                             ; +0x14, 0xff9870\nMOV             W2, #0                                                 ; +0x18, 0xff9874\nCMP             W3, W5                                                 ; +0x1c, 0xff9878\nB.LT            loc_FF9890                                             ; +0x20, 0xff987c\nMOV             W0, W2                                                 ; +0x24, 0xff9880\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x28, 0xff9884\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x2c, 0xff9888\nRET                                                                    ; +0x30, 0xff988c\nLDR             X2, [X0]                                               ; +0x34, 0xff9890\nSBFIZ           X3, X3, #3, #0x20 ; ' '                                ; +0x38, 0xff9894\nMOV             X19, #1                                                ; +0x3c, 0xff9898\nAND             W1, W1, #0x3F ; '?'                                    ; +0x40, 0xff989c\nLSL             X1, X19, X1                                            ; +0x44, 0xff98a0\nLDR             X4, [X2,X3]                                            ; +0x48, 0xff98a4\nBIC             X1, X4, X1                                             ; +0x4c, 0xff98a8\nSTR             X1, [X2,X3]                                            ; +0x50, 0xff98ac\nBL              bn_correct_top                                         ; +0x54, 0xff98b0\nMOV             W2, W19                                                ; +0x58, 0xff98b4\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x5c, 0xff98b8\nMOV             W0, W2                                                 ; +0x60, 0xff98bc\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x64, 0xff98c0\nRET                                                                    ; +0x68, 0xff98c4\nMOV             W2, #0                                                 ; +0x6c, 0xff98c8\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x70, 0xff98cc\nMOV             W0, W2                                                 ; +0x74, 0xff98d0\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x78, 0xff98d4\nRET                                                                    ; +0x7c, 0xff98d8", "xrefs": ["<???> @ 0xd8400"], "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"}