{"type": "func", "start": 6442471456, "end": 6442471541, "name": "sub_180005020", "pseudocode": "// \n// sub_180005020 from 0x180005020 to 0x180005075 (85 bytes)\n// \n// 6 xrefs:\n// > sub_180004FB0 @ 0x180004fda\n// > sub_180005020 @ 0x18000504a\n// > sub_180005080 @ 0x1800050ba\n// > sub_18001D600 @ 0x18001d63a\n// > sub_18001DC00 @ 0x18001dc3a\n// > <???> @ 0x18004b450\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 12:15:35 +0000\n// \n\nvoid __fastcall sub_180005020(__int64 a1, __int64 a2, __int64 a3)\n{\n  _QWORD *v3; // rbx\n  void *v6; // rcx\n\n  v3 = (_QWORD *)a3;\n  if ( !*(_BYTE *)(a3 + 25) )\n  {\n    do\n    {\n      sub_180005020(a1, a2, v3[2]);\n      v6 = v3;\n      v3 = (_QWORD *)*v3;\n      j_j_free(v6);\n    }\n    while ( !*((_BYTE *)v3 + 25) );\n  }\n}", "assembly": "; \n; sub_180005020 from 0x180005020 to 0x180005075 (85 bytes)\n; \n; 6 xrefs:\n; > sub_180004FB0 @ 0x180004fda\n; > sub_180005020 @ 0x18000504a\n; > sub_180005080 @ 0x1800050ba\n; > sub_18001D600 @ 0x18001d63a\n; > sub_18001DC00 @ 0x18001dc3a\n; > <???> @ 0x18004b450\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 12:15:35 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180005020\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180005025\npush    rdi                                                            ; +0xa, 0x18000502a\nsub     rsp, 20h                                                       ; +0xb, 0x18000502b\ncmp     byte ptr [r8+19h], 0                                           ; +0xf, 0x18000502f\nmov     rbx, r8                                                        ; +0x14, 0x180005034\nmov     rdi, rdx                                                       ; +0x17, 0x180005037\nmov     rsi, rcx                                                       ; +0x1a, 0x18000503a\njnz     short loc_180005065                                            ; +0x1d, 0x18000503d\nnop                                                                    ; +0x1f, 0x18000503f\nmov     r8, [rbx+10h]                                                  ; +0x20, 0x180005040\nmov     rdx, rdi                                                       ; +0x24, 0x180005044\nmov     rcx, rsi                                                       ; +0x27, 0x180005047\ncall    sub_180005020                                                  ; +0x2a, 0x18000504a\nmov     rcx, rbx; Block                                                ; +0x2f, 0x18000504f\nmov     edx, 28h ; '('                                                 ; +0x32, 0x180005052\nmov     rbx, [rbx]                                                     ; +0x37, 0x180005057\ncall    j_j_free                                                       ; +0x3a, 0x18000505a\ncmp     byte ptr [rbx+19h], 0                                          ; +0x3f, 0x18000505f\njz      short loc_180005040                                            ; +0x43, 0x180005063\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x45, 0x180005065\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x4a, 0x18000506a\nadd     rsp, 20h                                                       ; +0x4f, 0x18000506f\npop     rdi                                                            ; +0x53, 0x180005073\nretn                                                                   ; +0x54, 0x180005074", "xrefs": ["sub_180004FB0 @ 0x180004fda", "sub_180005020 @ 0x18000504a", "sub_180005080 @ 0x1800050ba", "sub_18001D600 @ 0x18001d63a", "sub_18001DC00 @ 0x18001dc3a", "<???> @ 0x18004b450"], "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"}