{"type": "func", "start": 6442731840, "end": 6442731901, "name": "sub_180044940", "pseudocode": "// \n// sub_180044940 from 0x180044940 to 0x18004497d (61 bytes)\n// \n// 1 xrefs:\n// > sub_180015B40 @ 0x180015c49\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\n__int64 __fastcall sub_180044940(__int64 a1, unsigned int a2)\n{\n  if ( a2 > 0x7E || **(_DWORD **)a1 != 9 )\n    return 0;\n  *(_DWORD *)(*(_QWORD *)(a1 + 8) + 4LL * (int)a2 + 832) = 1;\n  if ( a2 == 2 )\n    *(_QWORD *)(*(_QWORD *)(a1 + 8) + 1352LL) = 0;\n  return 1;\n}", "assembly": "; \n; sub_180044940 from 0x180044940 to 0x18004497d (61 bytes)\n; \n; 1 xrefs:\n; > sub_180015B40 @ 0x180015c49\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\ncmp     edx, 7Eh ; '~'                                                 ; +0x0, 0x180044940\nja      short loc_18004497A                                            ; +0x3, 0x180044943\nmov     rax, [rcx]                                                     ; +0x5, 0x180044945\ncmp     dword ptr [rax], 9                                             ; +0x8, 0x180044948\njnz     short loc_18004497A                                            ; +0xb, 0x18004494b\nmov     r8, [rcx+8]                                                    ; +0xd, 0x18004494d\nmovsxd  r9, edx                                                        ; +0x11, 0x180044951\nmov     dword ptr [r8+r9*4+340h], 1                                    ; +0x14, 0x180044954\ncmp     edx, 2                                                         ; +0x20, 0x180044960\njnz     short loc_180044974                                            ; +0x23, 0x180044963\nmov     rcx, [rcx+8]                                                   ; +0x25, 0x180044965\nmov     qword ptr [rcx+548h], 0                                        ; +0x29, 0x180044969\nmov     eax, 1                                                         ; +0x34, 0x180044974\nretn                                                                   ; +0x39, 0x180044979\nxor     eax, eax                                                       ; +0x3a, 0x18004497a\nretn                                                                   ; +0x3c, 0x18004497c", "xrefs": ["sub_180015B40 @ 0x180015c49"], "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"}