{"type": "func", "start": 15166656, "end": 15166836, "name": "BN_GF2m_mod_div_arr", "pseudocode": "// \n// BN_GF2m_mod_div_arr from 0xe76cc0 to 0xe76d74 (180 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0xbe0e0\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\nbool __fastcall BN_GF2m_mod_div_arr(__int64 a1, __int64 a2, __int64 a3, int *a4, int32x2_t *a5)\n{\n  __int64 v9; // x20\n  _BOOL4 v11; // w20\n\n  BN_CTX_start((unsigned __int64)a5);\n  v9 = BN_CTX_get(a5);\n  if ( v9 && (unsigned int)BN_GF2m_arr2poly(a4, v9) )\n  {\n    v11 = BN_GF2m_mod_div(a1, a2, a3, v9, a5);\n    BN_CTX_end((__int64)a5);\n    return v11;\n  }\n  else\n  {\n    BN_CTX_end((__int64)a5);\n    return 0;\n  }\n}", "assembly": "; \n; BN_GF2m_mod_div_arr from 0xe76cc0 to 0xe76d74 (180 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0xbe0e0\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\nSTP             X29, X30, [SP,#var_50]!                                ; +0x0, 0xe76cc0\nMOV             X29, SP                                                ; +0x4, 0xe76cc4\nSTR             X23, [SP,#0x50+var_20]                                 ; +0x8, 0xe76cc8\nMOV             X23, X0                                                ; +0xc, 0xe76ccc\nMOV             X0, X4                                                 ; +0x10, 0xe76cd0\nSTP             X19, X20, [SP,#0x50+var_40]                            ; +0x14, 0xe76cd4\nSTP             X21, X22, [SP,#0x50+var_30]                            ; +0x18, 0xe76cd8\nMOV             X19, X4                                                ; +0x1c, 0xe76cdc\nSTR             X3, [X29,#0x50+var_8]                                  ; +0x20, 0xe76ce0\nMOV             X22, X1                                                ; +0x24, 0xe76ce4\nMOV             X21, X2                                                ; +0x28, 0xe76ce8\nBL              BN_CTX_start                                           ; +0x2c, 0xe76cec\nMOV             X0, X19                                                ; +0x30, 0xe76cf0\nBL              BN_CTX_get                                             ; +0x34, 0xe76cf4\nMOV             X20, X0                                                ; +0x38, 0xe76cf8\nLDR             X3, [X29,#0x50+var_8]                                  ; +0x3c, 0xe76cfc\nCBZ             X0, loc_E76D14                                         ; +0x40, 0xe76d00\nMOV             X0, X3                                                 ; +0x44, 0xe76d04\nMOV             X1, X20                                                ; +0x48, 0xe76d08\nBL              BN_GF2m_arr2poly                                       ; +0x4c, 0xe76d0c\nCBNZ            W0, loc_E76D38                                         ; +0x50, 0xe76d10\nMOV             X0, X19                                                ; +0x54, 0xe76d14\nMOV             W20, #0                                                ; +0x58, 0xe76d18\nBL              BN_CTX_end                                             ; +0x5c, 0xe76d1c\nLDR             X23, [SP,#0x50+var_20]                                 ; +0x60, 0xe76d20\nMOV             W0, W20                                                ; +0x64, 0xe76d24\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0x68, 0xe76d28\nLDP             X21, X22, [SP,#0x50+var_30]                            ; +0x6c, 0xe76d2c\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0x70, 0xe76d30\nRET                                                                    ; +0x74, 0xe76d34\nMOV             X1, X22                                                ; +0x78, 0xe76d38\nMOV             X2, X21                                                ; +0x7c, 0xe76d3c\nMOV             X3, X20                                                ; +0x80, 0xe76d40\nMOV             X4, X19                                                ; +0x84, 0xe76d44\nMOV             X0, X23                                                ; +0x88, 0xe76d48\nBL              BN_GF2m_mod_div                                        ; +0x8c, 0xe76d4c\nMOV             W20, W0                                                ; +0x90, 0xe76d50\nMOV             X0, X19                                                ; +0x94, 0xe76d54\nBL              BN_CTX_end                                             ; +0x98, 0xe76d58\nLDR             X23, [SP,#0x50+var_20]                                 ; +0x9c, 0xe76d5c\nMOV             W0, W20                                                ; +0xa0, 0xe76d60\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0xa4, 0xe76d64\nLDP             X21, X22, [SP,#0x50+var_30]                            ; +0xa8, 0xe76d68\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0xac, 0xe76d6c\nRET                                                                    ; +0xb0, 0xe76d70", "xrefs": ["<???> @ 0xbe0e0"], "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"}