{"type": "func", "start": 4298674572, "end": 4298674956, "name": "LabelGameObject::customObjectSetup", "pseudocode": "// \n// LabelGameObject::customObjectSetup from 0x10038918c to 0x10038930c (384 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1007f6678\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 __fastcall LabelGameObject::customObjectSetup(\n        LabelGameObject *a1,\n        std::vector<std::string> *a2,\n        std::vector<void *> *a3)\n{\n  std::__vector_base<void *>::pointer begin; // x22\n  std::__vector_base<std::string>::pointer capacitym1; // x0\n  int v8; // w0\n  void *v9; // x8\n  std::__vector_base<std::string>::pointer v10; // x0\n  std::__vector_base<std::string>::pointer v11; // x0\n  int v12; // w0\n  std::__vector_base<std::string>::pointer v13; // x0\n  __int64 v14; // x1\n  std::__vector_base<std::string>::pointer v15; // x0\n  int v16; // w1\n  __int64 v17; // x8\n  std::__vector_base<std::string>::pointer v18; // x0\n\n  begin = a3->__begin_;\n  if ( *((_QWORD *)a3->__begin_ + 80) )\n  {\n    capacitym1 = a2->__begin_ + 80;\n    if ( a2->__begin_[80].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      capacitym1 = (std::__vector_base<std::string>::pointer)capacitym1->m_data.m_long.capacitym1;\n    v8 = atoi((const char *)capacitym1);\n  }\n  else\n  {\n    v8 = 0;\n  }\n  a1->m_itemID = v8;\n  v9 = begin[389];\n  if ( v9 )\n  {\n    v10 = a2->__begin_ + 389;\n    if ( a2->__begin_[389].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      v10 = (std::__vector_base<std::string>::pointer)v10->m_data.m_long.capacitym1;\n    LOBYTE(v9) = atoi((const char *)v10) != 0;\n  }\n  a1->m_showSecondsOnly = (char)v9;\n  if ( begin[390] )\n  {\n    v11 = a2->__begin_ + 390;\n    if ( a2->__begin_[390].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      v11 = (std::__vector_base<std::string>::pointer)v11->m_data.m_long.capacitym1;\n    v12 = atoi((const char *)v11);\n  }\n  else\n  {\n    v12 = 0;\n  }\n  a1->m_shownSpecial = v12;\n  if ( begin[488] )\n  {\n    v13 = a2->__begin_ + 488;\n    if ( a2->__begin_[488].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      v13 = (std::__vector_base<std::string>::pointer)v13->m_data.m_long.capacitym1;\n    v14 = atoi((const char *)v13);\n  }\n  else\n  {\n    v14 = 0;\n  }\n  ((void (__fastcall *)(LabelGameObject *, __int64))a1->updateTextKerning)(a1, v14);\n  if ( *((_QWORD *)a3->__begin_ + 391) )\n  {\n    v15 = a2->__begin_ + 391;\n    if ( a2->__begin_[391].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      v15 = (std::__vector_base<std::string>::pointer)v15->m_data.m_long.capacitym1;\n    v16 = atoi((const char *)v15);\n  }\n  else\n  {\n    v16 = 0;\n  }\n  LabelGameObject::updateLabelAlign(a1, v16);\n  v17 = *((_QWORD *)a3->__begin_ + 466);\n  if ( v17 )\n  {\n    v18 = a2->__begin_ + 466;\n    if ( a2->__begin_[466].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      v18 = (std::__vector_base<std::string>::pointer)v18->m_data.m_long.capacitym1;\n    LOBYTE(v17) = atoi((const char *)v18) != 0;\n  }\n  a1->m_isTimeCounter = v17;\n}", "assembly": "; \n; LabelGameObject::customObjectSetup from 0x10038918c to 0x10038930c (384 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1007f6678\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\nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x10038918c\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x100389190\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x100389194\nADD             X29, SP, #0x20                                         ; +0xc, 0x100389198\nMOV             X21, X2                                                ; +0x10, 0x10038919c\nMOV             X20, X1                                                ; +0x14, 0x1003891a0\nMOV             X19, X0                                                ; +0x18, 0x1003891a4\nLDR             X22, [X2]                                              ; +0x1c, 0x1003891a8\nLDR             X8, [X22,#0x280]                                       ; +0x20, 0x1003891ac\nCBZ             X8, loc_1003891D0                                      ; +0x24, 0x1003891b0\nLDR             X8, [X20]                                              ; +0x28, 0x1003891b4\nADD             X0, X8, #0x780                                         ; +0x2c, 0x1003891b8\nLDRSB           W8, [X8,#0x797]                                        ; +0x30, 0x1003891bc\nTBZ             W8, #0x1F, loc_1003891C8                               ; +0x34, 0x1003891c0\nLDR             X0, [X0]; char *                                       ; +0x38, 0x1003891c4\nBL              _atoi                                                  ; +0x3c, 0x1003891c8\nB               loc_1003891D4                                          ; +0x40, 0x1003891cc\nMOV             W0, #0                                                 ; +0x44, 0x1003891d0\nSTR             W0, [X19,#0x690]                                       ; +0x48, 0x1003891d4\nLDR             X8, [X22,#0xC28]                                       ; +0x4c, 0x1003891d8\nCBZ             X8, loc_100389208                                      ; +0x50, 0x1003891dc\nLDR             X8, [X20]                                              ; +0x54, 0x1003891e0\nMOV             W9, #0x2478                                            ; +0x58, 0x1003891e4\nADD             X0, X8, X9                                             ; +0x5c, 0x1003891e8\nMOV             W9, #0x248F                                            ; +0x60, 0x1003891ec\nLDRSB           W8, [X8,X9]                                            ; +0x64, 0x1003891f0\nTBZ             W8, #0x1F, loc_1003891FC                               ; +0x68, 0x1003891f4\nLDR             X0, [X0]; char *                                       ; +0x6c, 0x1003891f8\nBL              _atoi                                                  ; +0x70, 0x1003891fc\nCMP             W0, #0                                                 ; +0x74, 0x100389200\nCSET            W8, NE                                                 ; +0x78, 0x100389204\nSTRB            W8, [X19,#0x760]                                       ; +0x7c, 0x100389208\nLDR             X8, [X22,#0xC30]                                       ; +0x80, 0x10038920c\nCBZ             X8, loc_100389238                                      ; +0x84, 0x100389210\nLDR             X8, [X20]                                              ; +0x88, 0x100389214\nMOV             W9, #0x2490                                            ; +0x8c, 0x100389218\nADD             X0, X8, X9                                             ; +0x90, 0x10038921c\nMOV             W9, #0x24A7                                            ; +0x94, 0x100389220\nLDRSB           W8, [X8,X9]                                            ; +0x98, 0x100389224\nTBZ             W8, #0x1F, loc_100389230                               ; +0x9c, 0x100389228\nLDR             X0, [X0]; char *                                       ; +0xa0, 0x10038922c\nBL              _atoi                                                  ; +0xa4, 0x100389230\nB               loc_10038923C                                          ; +0xa8, 0x100389234\nMOV             W0, #0                                                 ; +0xac, 0x100389238\nSTR             W0, [X19,#0x764]                                       ; +0xb0, 0x10038923c\nLDR             X8, [X22,#0xF40]                                       ; +0xb4, 0x100389240\nCBZ             X8, loc_100389270                                      ; +0xb8, 0x100389244\nLDR             X8, [X20]                                              ; +0xbc, 0x100389248\nMOV             W9, #0x2DC0                                            ; +0xc0, 0x10038924c\nADD             X0, X8, X9                                             ; +0xc4, 0x100389250\nMOV             W9, #0x2DD7                                            ; +0xc8, 0x100389254\nLDRSB           W8, [X8,X9]                                            ; +0xcc, 0x100389258\nTBZ             W8, #0x1F, loc_100389264                               ; +0xd0, 0x10038925c\nLDR             X0, [X0]; char *                                       ; +0xd4, 0x100389260\nBL              _atoi                                                  ; +0xd8, 0x100389264\nMOV             X1, X0                                                 ; +0xdc, 0x100389268\nB               loc_100389274                                          ; +0xe0, 0x10038926c\nMOV             W1, #0                                                 ; +0xe4, 0x100389270\nLDR             X8, [X19]                                              ; +0xe8, 0x100389274\nLDR             X8, [X8,#0x6C8]                                        ; +0xec, 0x100389278\nMOV             X0, X19                                                ; +0xf0, 0x10038927c\nBLR             X8                                                     ; +0xf4, 0x100389280\nLDR             X8, [X21]                                              ; +0xf8, 0x100389284\nLDR             X8, [X8,#0xC38]                                        ; +0xfc, 0x100389288\nCBZ             X8, loc_1003892B8                                      ; +0x100, 0x10038928c\nLDR             X8, [X20]                                              ; +0x104, 0x100389290\nMOV             W9, #0x24A8                                            ; +0x108, 0x100389294\nADD             X0, X8, X9                                             ; +0x10c, 0x100389298\nMOV             W9, #0x24BF                                            ; +0x110, 0x10038929c\nLDRSB           W8, [X8,X9]                                            ; +0x114, 0x1003892a0\nTBZ             W8, #0x1F, loc_1003892AC                               ; +0x118, 0x1003892a4\nLDR             X0, [X0]; char *                                       ; +0x11c, 0x1003892a8\nBL              _atoi                                                  ; +0x120, 0x1003892ac\nMOV             X1, X0                                                 ; +0x124, 0x1003892b0\nB               loc_1003892BC                                          ; +0x128, 0x1003892b4\nMOV             W1, #0                                                 ; +0x12c, 0x1003892b8\nMOV             X0, X19                                                ; +0x130, 0x1003892bc\nBL              LabelGameObject__updateLabelAlign                      ; +0x134, 0x1003892c0\nLDR             X8, [X21]                                              ; +0x138, 0x1003892c4\nLDR             X8, [X8,#0xE90]                                        ; +0x13c, 0x1003892c8\nCBZ             X8, loc_1003892F8                                      ; +0x140, 0x1003892cc\nLDR             X8, [X20]                                              ; +0x144, 0x1003892d0\nMOV             W9, #0x2BB0                                            ; +0x148, 0x1003892d4\nADD             X0, X8, X9                                             ; +0x14c, 0x1003892d8\nMOV             W9, #0x2BC7                                            ; +0x150, 0x1003892dc\nLDRSB           W8, [X8,X9]                                            ; +0x154, 0x1003892e0\nTBZ             W8, #0x1F, loc_1003892EC                               ; +0x158, 0x1003892e4\nLDR             X0, [X0]; char *                                       ; +0x15c, 0x1003892e8\nBL              _atoi                                                  ; +0x160, 0x1003892ec\nCMP             W0, #0                                                 ; +0x164, 0x1003892f0\nCSET            W8, NE                                                 ; +0x168, 0x1003892f4\nSTRB            W8, [X19,#0x768]                                       ; +0x16c, 0x1003892f8\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x170, 0x1003892fc\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x174, 0x100389300\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x178, 0x100389304\nRET                                                                    ; +0x17c, 0x100389308", "xrefs": ["<???> @ 0x1007f6678"], "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"}