{"type": "func", "start": 5373639392, "end": 5373639755, "name": "LabelGameObject::customObjectSetup", "pseudocode": "// \n// LabelGameObject::customObjectSetup from 0x1404b3ae0 to 0x1404b3c4b (363 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14061c428\n// > <???> @ 0x1406dcb00\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\nvoid LabelGameObject::customObjectSetup(LabelGameObject *a1, std::vector<std::string> *a2, std::vector<void *> *a3)\n{\n  int v3; // ebx\n  int v7; // eax\n  std::_Vector_val<std::_Simple_types<std::string>>::pointer m_bigStorage; // rcx\n  int v9; // eax\n  std::_Vector_val<std::_Simple_types<std::string>>::pointer v10; // rcx\n  int v11; // eax\n  std::_Vector_val<std::_Simple_types<std::string>>::pointer v12; // rcx\n  int v13; // eax\n  std::_Vector_val<std::_Simple_types<std::string>>::pointer v14; // rcx\n  int v15; // eax\n  std::_Vector_val<std::_Simple_types<std::string>>::pointer v16; // rcx\n  std::_Vector_val<std::_Simple_types<std::string>>::pointer v17; // rcx\n\n  v3 = 0;\n  if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 80) )\n  {\n    m_bigStorage = a2->_Mypair._Myval2._Myfirst + 80;\n    if ( a2->_Mypair._Myval2._Myfirst[80].m_data.m_capacity > 0xF )\n      m_bigStorage = (std::_Vector_val<std::_Simple_types<std::string>>::pointer)m_bigStorage->m_data.m_bigStorage;\n    v7 = atoi(m_bigStorage->m_data.m_smallStorage._Elems);\n  }\n  else\n  {\n    v7 = 0;\n  }\n  a1->m_itemID = v7;\n  if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 389) )\n  {\n    v10 = a2->_Mypair._Myval2._Myfirst + 389;\n    if ( a2->_Mypair._Myval2._Myfirst[389].m_data.m_capacity > 0xF )\n      v10 = (std::_Vector_val<std::_Simple_types<std::string>>::pointer)v10->m_data.m_bigStorage;\n    v9 = atoi(v10->m_data.m_smallStorage._Elems);\n  }\n  else\n  {\n    v9 = 0;\n  }\n  a1->m_showSecondsOnly = v9 != 0;\n  if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 390) )\n  {\n    v12 = a2->_Mypair._Myval2._Myfirst + 390;\n    if ( a2->_Mypair._Myval2._Myfirst[390].m_data.m_capacity > 0xF )\n      v12 = (std::_Vector_val<std::_Simple_types<std::string>>::pointer)v12->m_data.m_bigStorage;\n    v11 = atoi(v12->m_data.m_smallStorage._Elems);\n  }\n  else\n  {\n    v11 = 0;\n  }\n  a1->m_shownSpecial = v11;\n  if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 488) )\n  {\n    v14 = a2->_Mypair._Myval2._Myfirst + 488;\n    if ( a2->_Mypair._Myval2._Myfirst[488].m_data.m_capacity > 0xF )\n      v14 = (std::_Vector_val<std::_Simple_types<std::string>>::pointer)v14->m_data.m_bigStorage;\n    v13 = atoi(v14->m_data.m_smallStorage._Elems);\n  }\n  else\n  {\n    v13 = 0;\n  }\n  a1->updateTextKerning(a1, v13);\n  if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 391) )\n  {\n    v16 = a2->_Mypair._Myval2._Myfirst + 391;\n    if ( a2->_Mypair._Myval2._Myfirst[391].m_data.m_capacity > 0xF )\n      v16 = (std::_Vector_val<std::_Simple_types<std::string>>::pointer)v16->m_data.m_bigStorage;\n    v15 = atoi(v16->m_data.m_smallStorage._Elems);\n  }\n  else\n  {\n    v15 = 0;\n  }\n  LabelGameObject::updateLabelAlign(a1, v15);\n  if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 466) )\n  {\n    v17 = a2->_Mypair._Myval2._Myfirst + 466;\n    if ( a2->_Mypair._Myval2._Myfirst[466].m_data.m_capacity > 0xF )\n      v17 = (std::_Vector_val<std::_Simple_types<std::string>>::pointer)v17->m_data.m_bigStorage;\n    v3 = atoi(v17->m_data.m_smallStorage._Elems);\n  }\n  a1->m_isTimeCounter = v3 != 0;\n}", "assembly": "; \n; LabelGameObject::customObjectSetup from 0x1404b3ae0 to 0x1404b3c4b (363 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14061c428\n; > <???> @ 0x1406dcb00\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1404b3ae0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1404b3ae5\nmov     [rsp+arg_10], rdi                                              ; +0xa, 0x1404b3aea\npush    r14                                                            ; +0xf, 0x1404b3aef\nsub     rsp, 20h                                                       ; +0x11, 0x1404b3af1\nmov     rax, [r8]                                                      ; +0x15, 0x1404b3af5\nxor     ebx, ebx                                                       ; +0x18, 0x1404b3af8\nmov     r14, r8                                                        ; +0x1a, 0x1404b3afa\nmov     rsi, rdx                                                       ; +0x1d, 0x1404b3afd\nmov     rdi, rcx                                                       ; +0x20, 0x1404b3b00\ncmp     [rax+280h], rbx                                                ; +0x23, 0x1404b3b03\njnz     short loc_1404B3B10                                            ; +0x2a, 0x1404b3b0a\nmov     eax, ebx                                                       ; +0x2c, 0x1404b3b0c\njmp     short loc_1404B3B2A                                            ; +0x2e, 0x1404b3b0e\nmov     rcx, [rdx]                                                     ; +0x30, 0x1404b3b10\nadd     rcx, 0A00h                                                     ; +0x33, 0x1404b3b13\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0x3a, 0x1404b3b1a\njbe     short loc_1404B3B24                                            ; +0x3f, 0x1404b3b1f\nmov     rcx, [rcx]; String                                             ; +0x41, 0x1404b3b21\ncall    cs:atoi                                                        ; +0x44, 0x1404b3b24\nmov     [rdi+6A0h], eax                                                ; +0x4a, 0x1404b3b2a\nmov     rax, [r14]                                                     ; +0x50, 0x1404b3b30\ncmp     [rax+0C28h], rbx                                               ; +0x53, 0x1404b3b33\njnz     short loc_1404B3B40                                            ; +0x5a, 0x1404b3b3a\nmov     eax, ebx                                                       ; +0x5c, 0x1404b3b3c\njmp     short loc_1404B3B5A                                            ; +0x5e, 0x1404b3b3e\nmov     rcx, [rsi]                                                     ; +0x60, 0x1404b3b40\nadd     rcx, 30A0h                                                     ; +0x63, 0x1404b3b43\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0x6a, 0x1404b3b4a\njbe     short loc_1404B3B54                                            ; +0x6f, 0x1404b3b4f\nmov     rcx, [rcx]; String                                             ; +0x71, 0x1404b3b51\ncall    cs:atoi                                                        ; +0x74, 0x1404b3b54\ntest    eax, eax                                                       ; +0x7a, 0x1404b3b5a\nsetnz   al                                                             ; +0x7c, 0x1404b3b5c\nmov     [rdi+778h], al                                                 ; +0x7f, 0x1404b3b5f\nmov     rax, [r14]                                                     ; +0x85, 0x1404b3b65\ncmp     [rax+0C30h], rbx                                               ; +0x88, 0x1404b3b68\njnz     short loc_1404B3B75                                            ; +0x8f, 0x1404b3b6f\nmov     eax, ebx                                                       ; +0x91, 0x1404b3b71\njmp     short loc_1404B3B8F                                            ; +0x93, 0x1404b3b73\nmov     rcx, [rsi]                                                     ; +0x95, 0x1404b3b75\nadd     rcx, 30C0h                                                     ; +0x98, 0x1404b3b78\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0x9f, 0x1404b3b7f\njbe     short loc_1404B3B89                                            ; +0xa4, 0x1404b3b84\nmov     rcx, [rcx]; String                                             ; +0xa6, 0x1404b3b86\ncall    cs:atoi                                                        ; +0xa9, 0x1404b3b89\nmov     [rdi+77Ch], eax                                                ; +0xaf, 0x1404b3b8f\nmov     rax, [r14]                                                     ; +0xb5, 0x1404b3b95\ncmp     [rax+0F40h], rbx                                               ; +0xb8, 0x1404b3b98\njnz     short loc_1404B3BA5                                            ; +0xbf, 0x1404b3b9f\nmov     eax, ebx                                                       ; +0xc1, 0x1404b3ba1\njmp     short loc_1404B3BBF                                            ; +0xc3, 0x1404b3ba3\nmov     rcx, [rsi]                                                     ; +0xc5, 0x1404b3ba5\nadd     rcx, 3D00h                                                     ; +0xc8, 0x1404b3ba8\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0xcf, 0x1404b3baf\njbe     short loc_1404B3BB9                                            ; +0xd4, 0x1404b3bb4\nmov     rcx, [rcx]; String                                             ; +0xd6, 0x1404b3bb6\ncall    cs:atoi                                                        ; +0xd9, 0x1404b3bb9\nmov     r8, [rdi]                                                      ; +0xdf, 0x1404b3bbf\nmov     edx, eax                                                       ; +0xe2, 0x1404b3bc2\nmov     rcx, rdi                                                       ; +0xe4, 0x1404b3bc4\ncall    qword ptr [r8+630h]                                            ; +0xe7, 0x1404b3bc7\nmov     rax, [r14]                                                     ; +0xee, 0x1404b3bce\ncmp     [rax+0C38h], rbx                                               ; +0xf1, 0x1404b3bd1\njnz     short loc_1404B3BDE                                            ; +0xf8, 0x1404b3bd8\nmov     eax, ebx                                                       ; +0xfa, 0x1404b3bda\njmp     short loc_1404B3BF8                                            ; +0xfc, 0x1404b3bdc\nmov     rcx, [rsi]                                                     ; +0xfe, 0x1404b3bde\nadd     rcx, 30E0h                                                     ; +0x101, 0x1404b3be1\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0x108, 0x1404b3be8\njbe     short loc_1404B3BF2                                            ; +0x10d, 0x1404b3bed\nmov     rcx, [rcx]; String                                             ; +0x10f, 0x1404b3bef\ncall    cs:atoi                                                        ; +0x112, 0x1404b3bf2\nmov     edx, eax                                                       ; +0x118, 0x1404b3bf8\nmov     rcx, rdi                                                       ; +0x11a, 0x1404b3bfa\ncall    LabelGameObject__updateLabelAlign                              ; +0x11d, 0x1404b3bfd\nmov     rax, [r14]                                                     ; +0x122, 0x1404b3c02\ncmp     [rax+0E90h], rbx                                               ; +0x125, 0x1404b3c05\njz      short loc_1404B3C2A                                            ; +0x12c, 0x1404b3c0c\nmov     rcx, [rsi]                                                     ; +0x12e, 0x1404b3c0e\nadd     rcx, 3A40h                                                     ; +0x131, 0x1404b3c11\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0x138, 0x1404b3c18\njbe     short loc_1404B3C22                                            ; +0x13d, 0x1404b3c1d\nmov     rcx, [rcx]; String                                             ; +0x13f, 0x1404b3c1f\ncall    cs:atoi                                                        ; +0x142, 0x1404b3c22\nmov     ebx, eax                                                       ; +0x148, 0x1404b3c28\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x14a, 0x1404b3c2a\ntest    ebx, ebx                                                       ; +0x14f, 0x1404b3c2f\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x151, 0x1404b3c31\nsetnz   al                                                             ; +0x156, 0x1404b3c36\nmov     [rdi+780h], al                                                 ; +0x159, 0x1404b3c39\nmov     rdi, [rsp+28h+arg_10]                                          ; +0x15f, 0x1404b3c3f\nadd     rsp, 20h                                                       ; +0x164, 0x1404b3c44\npop     r14                                                            ; +0x168, 0x1404b3c48\nretn                                                                   ; +0x16a, 0x1404b3c4a", "xrefs": ["<???> @ 0x14061c428", "<???> @ 0x1406dcb00"], "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"}