{"type": "func", "start": 5375347616, "end": 5375347832, "name": "LabelGameObject::removeLabel", "pseudocode": "// \n// LabelGameObject::removeLabel from 0x140654ba0 to 0x140654c78 (216 bytes)\n// \n// 3 xrefs:\n// > LevelEditorLayer::updateLevelFont @ 0x1403fdb1e\n// > LabelGameObject::createLabel @ 0x1406549e6\n// > <???> @ 0x140931670\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 11:35:44 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid __fastcall LabelGameObject::removeLabel(__int64 a1)\n{\n  __int64 v2; // rcx\n  _BYTE *v3; // rax\n  size_t v4; // r8\n  void **v5; // rdx\n  void *Src[2]; // [rsp+20h] [rbp-28h] BYREF\n  size_t Size; // [rsp+30h] [rbp-18h]\n  unsigned __int64 v8; // [rsp+38h] [rbp-10h]\n\n  v2 = *(_QWORD *)(a1 + 1856);\n  if ( v2 )\n  {\n    v3 = (_BYTE *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(v2 + 360) + 8LL))(v2 + 360);\n    *(_OWORD *)Src = 0;\n    Size = 0;\n    v8 = 0;\n    v4 = -1;\n    do\n      ++v4;\n    while ( v3[v4] );\n    sub_14003D230(Src, v3, v4);\n    if ( !*(_BYTE *)(a1 + 1928) )\n    {\n      if ( (void **)(a1 + 1872) != Src )\n      {\n        v5 = Src;\n        if ( v8 > 0xF )\n          v5 = (void **)Src[0];\n        sub_1400405A0((void **)(a1 + 1872), v5, Size);\n      }\n      *(_BYTE *)(a1 + 1864) = 1;\n    }\n    sub_14003D310((__int64)Src);\n    (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1856) + 528LL))(*(_QWORD *)(a1 + 1856));\n    *(_QWORD *)(a1 + 1856) = 0;\n  }\n}", "assembly": "; \n; LabelGameObject::removeLabel from 0x140654ba0 to 0x140654c78 (216 bytes)\n; \n; 3 xrefs:\n; > LevelEditorLayer::updateLevelFont @ 0x1403fdb1e\n; > LabelGameObject::createLabel @ 0x1406549e6\n; > <???> @ 0x140931670\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 11:35:44 +0000\n; \npush    rbx                                                            ; +0x0, 0x140654ba0\nsub     rsp, 40h                                                       ; +0x2, 0x140654ba2\nmov     rbx, rcx                                                       ; +0x6, 0x140654ba6\nmov     rcx, [rcx+740h]                                                ; +0x9, 0x140654ba9\ntest    rcx, rcx                                                       ; +0x10, 0x140654bb0\njz      loc_140654C72                                                  ; +0x13, 0x140654bb3\nadd     rcx, 168h                                                      ; +0x19, 0x140654bb9\nmov     rax, [rcx]                                                     ; +0x20, 0x140654bc0\ncall    qword ptr [rax+8]                                              ; +0x23, 0x140654bc3\nxorps   xmm0, xmm0                                                     ; +0x26, 0x140654bc6\nmovups  xmmword ptr [rsp+48h+Src], xmm0                                ; +0x29, 0x140654bc9\nmov     [rsp+48h+Size], 0                                              ; +0x2e, 0x140654bce\nmov     [rsp+48h+var_10], 0                                            ; +0x37, 0x140654bd7\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x40, 0x140654be0\nnop     word ptr [rax+rax+00000000h]                                   ; +0x47, 0x140654be7\ninc     r8                                                             ; +0x50, 0x140654bf0\ncmp     byte ptr [rax+r8], 0                                           ; +0x53, 0x140654bf3\njnz     short loc_140654BF0                                            ; +0x58, 0x140654bf8\nmov     rdx, rax                                                       ; +0x5a, 0x140654bfa\nlea     rcx, [rsp+48h+Src]                                             ; +0x5d, 0x140654bfd\ncall    sub_14003D230                                                  ; +0x62, 0x140654c02\nlea     rax, [rsp+48h+Src]                                             ; +0x67, 0x140654c07\nmov     [rsp+48h+arg_0], rax                                           ; +0x6c, 0x140654c0c\ncmp     byte ptr [rbx+788h], 0                                         ; +0x71, 0x140654c11\njnz     short loc_140654C4D                                            ; +0x78, 0x140654c18\nlea     rcx, [rbx+750h]; void *                                        ; +0x7a, 0x140654c1a\nlea     rax, [rsp+48h+Src]                                             ; +0x81, 0x140654c21\ncmp     rcx, rax                                                       ; +0x86, 0x140654c26\njz      short loc_140654C46                                            ; +0x89, 0x140654c29\nlea     rdx, [rsp+48h+Src]                                             ; +0x8b, 0x140654c2b\ncmp     [rsp+48h+var_10], 0Fh                                          ; +0x90, 0x140654c30\ncmova   rdx, [rsp+48h+Src]; Src                                        ; +0x96, 0x140654c36\nmov     r8, [rsp+48h+Size]; Size                                       ; +0x9c, 0x140654c3c\ncall    sub_1400405A0                                                  ; +0xa1, 0x140654c41\nmov     byte ptr [rbx+748h], 1                                         ; +0xa6, 0x140654c46\nlea     rcx, [rsp+48h+Src]                                             ; +0xad, 0x140654c4d\ncall    sub_14003D310                                                  ; +0xb2, 0x140654c52\nmov     rcx, [rbx+740h]                                                ; +0xb7, 0x140654c57\nmov     rax, [rcx]                                                     ; +0xbe, 0x140654c5e\ncall    qword ptr [rax+210h]                                           ; +0xc1, 0x140654c61\nmov     qword ptr [rbx+740h], 0                                        ; +0xc7, 0x140654c67\nadd     rsp, 40h                                                       ; +0xd2, 0x140654c72\npop     rbx                                                            ; +0xd6, 0x140654c76\nretn                                                                   ; +0xd7, 0x140654c77", "xrefs": ["LevelEditorLayer::updateLevelFont @ 0x1403fdb1e", "LabelGameObject::createLabel @ 0x1406549e6", "<???> @ 0x140931670"], "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"}