{"type": "func", "start": 5375349056, "end": 5375349154, "name": "LabelGameObject::addMainSpriteToParent", "pseudocode": "// \n// LabelGameObject::addMainSpriteToParent from 0x140655140 to 0x1406551a2 (98 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14082e480\n// > <???> @ 0x1409316e8\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\nchar __fastcall LabelGameObject::addMainSpriteToParent(__int64 a1, char a2)\n{\n  char result; // al\n  __int64 v4; // rcx\n  __int64 v5; // [rsp+30h] [rbp+8h]\n\n  result = GameObject::addMainSpriteToParent((_BYTE *)a1, a2);\n  v4 = *(_QWORD *)(a1 + 1856);\n  if ( *(_BYTE *)(a1 + 892) )\n    v5 = 0x100000302LL;\n  else\n    v5 = 0x30300000001LL;\n  if ( v4 )\n    return (**(__int64 (__fastcall ***)(__int64, __int64))(v4 + 320))(v4 + 320, v5);\n  return result;\n}", "assembly": "; \n; LabelGameObject::addMainSpriteToParent from 0x140655140 to 0x1406551a2 (98 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14082e480\n; > <???> @ 0x1409316e8\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, 0x140655140\nsub     rsp, 20h                                                       ; +0x2, 0x140655142\nmov     rbx, rcx                                                       ; +0x6, 0x140655146\ncall    GameObject__addMainSpriteToParent                              ; +0x9, 0x140655149\ncmp     byte ptr [rbx+37Ch], 0                                         ; +0xe, 0x14065514e\nmov     rcx, [rbx+740h]                                                ; +0x15, 0x140655155\njz      short loc_140655170                                            ; +0x1c, 0x14065515c\nmov     dword ptr [rsp+28h+arg_0], 302h                                ; +0x1e, 0x14065515e\nmov     dword ptr [rsp+28h+arg_0+4], 1                                 ; +0x26, 0x140655166\njmp     short loc_140655180                                            ; +0x2e, 0x14065516e\nmov     dword ptr [rsp+28h+arg_0], 1                                   ; +0x30, 0x140655170\nmov     dword ptr [rsp+28h+arg_0+4], 303h                              ; +0x38, 0x140655178\ntest    rcx, rcx                                                       ; +0x40, 0x140655180\njz      short loc_14065519C                                            ; +0x43, 0x140655183\nmov     rdx, [rsp+28h+arg_0]                                           ; +0x45, 0x140655185\nadd     rcx, 140h                                                      ; +0x4a, 0x14065518a\nmov     rax, [rcx]                                                     ; +0x51, 0x140655191\nadd     rsp, 20h                                                       ; +0x54, 0x140655194\npop     rbx                                                            ; +0x58, 0x140655198\njmp     qword ptr [rax]                                                ; +0x59, 0x140655199\nadd     rsp, 20h                                                       ; +0x5c, 0x14065519c\npop     rbx                                                            ; +0x60, 0x1406551a0\nretn                                                                   ; +0x61, 0x1406551a1", "xrefs": ["<???> @ 0x14082e480", "<???> @ 0x1409316e8"], "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"}