{"type": "func", "start": 8483916, "end": 8483972, "name": "CRYPTO_gcm128_tag", "pseudocode": "// \n// CRYPTO_gcm128_tag from 0x81744c to 0x817484 (56 bytes)\n// \n// 4 xrefs:\n// > sub_7FCC08 @ 0x7fcd78\n// > sub_7FCC08 @ 0x7fce8c\n// > sub_7FCC08 @ 0x7fceec\n// > <???> @ 0x62bbc\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\nvoid *__fastcall CRYPTO_gcm128_tag(int a1, void *a2, unsigned int a3)\n{\n  size_t v6; // r2\n\n  CRYPTO_gcm128_finish(a1, nullptr, 0);\n  if ( a3 >= 0x10 )\n    v6 = 16;\n  else\n    v6 = a3;\n  return memcpy(a2, (const void *)(a1 + 64), v6);\n}", "assembly": "; \n; CRYPTO_gcm128_tag from 0x81744c to 0x817484 (56 bytes)\n; \n; 4 xrefs:\n; > sub_7FCC08 @ 0x7fcd78\n; > sub_7FCC08 @ 0x7fce8c\n; > sub_7FCC08 @ 0x7fceec\n; > <???> @ 0x62bbc\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-R6,LR}                                             ; +0x0, 0x81744c\nMOV             R6, R1                                                 ; +0x4, 0x817450\nMOV             R1, #0                                                 ; +0x8, 0x817454\nMOV             R4, R2                                                 ; +0xc, 0x817458\nMOV             R2, R1                                                 ; +0x10, 0x81745c\nMOV             R5, R0                                                 ; +0x14, 0x817460\nBL              CRYPTO_gcm128_finish                                   ; +0x18, 0x817464\nCMP             R4, #0x10                                              ; +0x1c, 0x817468\nMOV             R0, R6; void *                                         ; +0x20, 0x81746c\nMOVCC           R2, R4                                                 ; +0x24, 0x817470\nADD             R1, R5, #0x40 ; '@'; void *                            ; +0x28, 0x817474\nMOVCS           R2, #0x10; size_t                                      ; +0x2c, 0x817478\nPOP             {R4-R6,LR}                                             ; +0x30, 0x81747c\nB               memcpy                                                 ; +0x34, 0x817480", "xrefs": ["sub_7FCC08 @ 0x7fcd78", "sub_7FCC08 @ 0x7fce8c", "sub_7FCC08 @ 0x7fceec", "<???> @ 0x62bbc"], "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"}