{"type": "func", "start": 6442760512, "end": 6442760609, "name": "sub_18004B940", "pseudocode": "// \n// sub_18004B940 from 0x18004b940 to 0x18004b9a1 (97 bytes)\n// \n// 5 xrefs:\n// > sub_180050A30 @ 0x180050a6e\n// > sub_180051B90 @ 0x180051c37\n// > sub_180051B90 @ 0x180051e23\n// > sub_180051B90 @ 0x180051f88\n// > <???> @ 0x1801f8550\n// \n// This function is hookable on this platform (idp: pc, 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 10:53:15 +0000\n// \n\n__int64 __fastcall sub_18004B940(__int64 a1, __int64 *a2)\n{\n  __int64 v4; // rdx\n  __int64 v5; // rdx\n  __int64 v6; // rdx\n\n  if ( a2 )\n  {\n    v4 = *a2;\n    if ( v4 )\n      sub_180033C90(a1, v4);\n    v5 = a2[3];\n    if ( v5 )\n      sub_180033C90(a1, v5);\n    v6 = a2[4];\n    if ( v6 )\n      sub_180033C90(a1, v6);\n    memset(a2, 0, 0x178u);\n  }\n  return 0;\n}", "assembly": "; \n; sub_18004B940 from 0x18004b940 to 0x18004b9a1 (97 bytes)\n; \n; 5 xrefs:\n; > sub_180050A30 @ 0x180050a6e\n; > sub_180051B90 @ 0x180051c37\n; > sub_180051B90 @ 0x180051e23\n; > sub_180051B90 @ 0x180051f88\n; > <???> @ 0x1801f8550\n; \n; This function is hookable on this platform (idp: pc, 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 10:53:15 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18004b940\npush    rdi                                                            ; +0x5, 0x18004b945\nsub     rsp, 20h                                                       ; +0x6, 0x18004b946\nmov     rbx, rdx                                                       ; +0xa, 0x18004b94a\nmov     rdi, rcx                                                       ; +0xd, 0x18004b94d\ntest    rdx, rdx                                                       ; +0x10, 0x18004b950\njz      short loc_18004B994                                            ; +0x13, 0x18004b953\nmov     rdx, [rdx]                                                     ; +0x15, 0x18004b955\ntest    rdx, rdx                                                       ; +0x18, 0x18004b958\njz      short loc_18004B962                                            ; +0x1b, 0x18004b95b\ncall    sub_180033C90                                                  ; +0x1d, 0x18004b95d\nmov     rdx, [rbx+18h]                                                 ; +0x22, 0x18004b962\ntest    rdx, rdx                                                       ; +0x26, 0x18004b966\njz      short loc_18004B973                                            ; +0x29, 0x18004b969\nmov     rcx, rdi                                                       ; +0x2b, 0x18004b96b\ncall    sub_180033C90                                                  ; +0x2e, 0x18004b96e\nmov     rdx, [rbx+20h]                                                 ; +0x33, 0x18004b973\ntest    rdx, rdx                                                       ; +0x37, 0x18004b977\njz      short loc_18004B984                                            ; +0x3a, 0x18004b97a\nmov     rcx, rdi                                                       ; +0x3c, 0x18004b97c\ncall    sub_180033C90                                                  ; +0x3f, 0x18004b97f\nxor     edx, edx; Val                                                  ; +0x44, 0x18004b984\nmov     r8d, 178h; Size                                                ; +0x46, 0x18004b986\nmov     rcx, rbx; void *                                               ; +0x4c, 0x18004b98c\ncall    memset                                                         ; +0x4f, 0x18004b98f\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x54, 0x18004b994\nxor     eax, eax                                                       ; +0x59, 0x18004b999\nadd     rsp, 20h                                                       ; +0x5b, 0x18004b99b\npop     rdi                                                            ; +0x5f, 0x18004b99f\nretn                                                                   ; +0x60, 0x18004b9a0", "xrefs": ["sub_180050A30 @ 0x180050a6e", "sub_180051B90 @ 0x180051c37", "sub_180051B90 @ 0x180051e23", "sub_180051B90 @ 0x180051f88", "<???> @ 0x1801f8550"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}