{"type": "func", "start": 4298638408, "end": 4298639144, "name": "GameOptionsTrigger::customObjectSetup", "pseudocode": "// \n// GameOptionsTrigger::customObjectSetup from 0x100380448 to 0x100380728 (736 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100801010\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 GameOptionsTrigger::customObjectSetup(\n        GameOptionsTrigger *a1,\n        std::vector<std::string> *a2,\n        std::vector<void *> *a3)\n{\n  std::__vector_base<void *>::pointer begin; // x21\n  std::__vector_base<std::string>::pointer capacitym1; // x0\n  GameOptionsSetting v8; // w0\n  std::__vector_base<std::string>::pointer v9; // x0\n  GameOptionsSetting v10; // w0\n  std::__vector_base<std::string>::pointer v11; // x0\n  GameOptionsSetting v12; // w0\n  std::__vector_base<std::string>::pointer v13; // x0\n  GameOptionsSetting v14; // w0\n  std::__vector_base<std::string>::pointer v15; // x0\n  GameOptionsSetting v16; // w0\n  std::__vector_base<std::string>::pointer v17; // x0\n  GameOptionsSetting v18; // w0\n  std::__vector_base<std::string>::pointer v19; // x0\n  GameOptionsSetting v20; // w0\n  std::__vector_base<std::string>::pointer v21; // x0\n  GameOptionsSetting v22; // w0\n  std::__vector_base<std::string>::pointer v23; // x0\n  GameOptionsSetting v24; // w0\n  std::__vector_base<std::string>::pointer v25; // x0\n  GameOptionsSetting v26; // w0\n  std::__vector_base<std::string>::pointer v27; // x0\n  float v28; // s0\n  std::__vector_base<std::string>::pointer v29; // x0\n  GameOptionsSetting v30; // w0\n  std::__vector_base<std::string>::pointer v31; // x0\n  GameOptionsSetting v32; // w0\n  std::__vector_base<std::string>::pointer v33; // x0\n  GameOptionsSetting v34; // w0\n\n  EffectGameObject::customObjectSetup(a1, a2, a3);\n  begin = a3->__begin_;\n  if ( begin[159] )\n  {\n    capacitym1 = a2->__begin_ + 159;\n    if ( a2->__begin_[159].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 = Disabled;\n  }\n  a1->m_streakAdditive = v8;\n  if ( begin[160] )\n  {\n    v9 = a2->__begin_ + 160;\n    if ( a2->__begin_[160].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      v9 = (std::__vector_base<std::string>::pointer)v9->m_data.m_long.capacitym1;\n    v10 = atoi((const char *)v9);\n  }\n  else\n  {\n    v10 = Disabled;\n  }\n  a1->m_unlinkDualGravity = v10;\n  if ( begin[161] )\n  {\n    v11 = a2->__begin_ + 161;\n    if ( a2->__begin_[161].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 = Disabled;\n  }\n  a1->m_hideGround = v12;\n  if ( begin[162] )\n  {\n    v13 = a2->__begin_ + 162;\n    if ( a2->__begin_[162].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 = Disabled;\n  }\n  a1->m_hideP1 = v14;\n  if ( begin[163] )\n  {\n    v15 = a2->__begin_ + 163;\n    if ( a2->__begin_[163].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 = Disabled;\n  }\n  a1->m_hideP2 = v16;\n  if ( begin[165] )\n  {\n    v17 = a2->__begin_ + 165;\n    if ( a2->__begin_[165].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      v17 = (std::__vector_base<std::string>::pointer)v17->m_data.m_long.capacitym1;\n    v18 = atoi((const char *)v17);\n  }\n  else\n  {\n    v18 = Disabled;\n  }\n  a1->m_disableP1Controls = v18;\n  if ( begin[199] )\n  {\n    v19 = a2->__begin_ + 199;\n    if ( a2->__begin_[199].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      v19 = (std::__vector_base<std::string>::pointer)v19->m_data.m_long.capacitym1;\n    v20 = atoi((const char *)v19);\n  }\n  else\n  {\n    v20 = Disabled;\n  }\n  a1->m_disableP2Controls = v20;\n  if ( begin[195] )\n  {\n    v21 = a2->__begin_ + 195;\n    if ( a2->__begin_[195].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      v21 = (std::__vector_base<std::string>::pointer)v21->m_data.m_long.capacitym1;\n    v22 = atoi((const char *)v21);\n  }\n  else\n  {\n    v22 = Disabled;\n  }\n  a1->m_hideMG = v22;\n  if ( begin[532] )\n  {\n    v23 = a2->__begin_ + 532;\n    if ( a2->__begin_[532].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      v23 = (std::__vector_base<std::string>::pointer)v23->m_data.m_long.capacitym1;\n    v24 = atoi((const char *)v23);\n  }\n  else\n  {\n    v24 = Disabled;\n  }\n  a1->m_hideAttempts = v24;\n  if ( begin[573] )\n  {\n    v25 = a2->__begin_ + 573;\n    if ( a2->__begin_[573].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      v25 = (std::__vector_base<std::string>::pointer)v25->m_data.m_long.capacitym1;\n    v26 = atoi((const char *)v25);\n  }\n  else\n  {\n    v26 = Disabled;\n  }\n  a1->m_editRespawnTime = v26;\n  if ( begin[574] )\n  {\n    v27 = a2->__begin_ + 574;\n    if ( a2->__begin_[574].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      v27 = (std::__vector_base<std::string>::pointer)v27->m_data.m_long.capacitym1;\n    v28 = atof((const char *)v27);\n  }\n  else\n  {\n    v28 = 0.0;\n  }\n  a1->m_respawnTime = v28;\n  if ( begin[575] )\n  {\n    v29 = a2->__begin_ + 575;\n    if ( a2->__begin_[575].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      v29 = (std::__vector_base<std::string>::pointer)v29->m_data.m_long.capacitym1;\n    v30 = atoi((const char *)v29);\n  }\n  else\n  {\n    v30 = Disabled;\n  }\n  a1->m_audioOnDeath = v30;\n  if ( begin[576] )\n  {\n    v31 = a2->__begin_ + 576;\n    if ( a2->__begin_[576].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      v31 = (std::__vector_base<std::string>::pointer)v31->m_data.m_long.capacitym1;\n    v32 = atoi((const char *)v31);\n  }\n  else\n  {\n    v32 = Disabled;\n  }\n  a1->m_noDeathSFX = v32;\n  if ( begin[593] )\n  {\n    v33 = a2->__begin_ + 593;\n    if ( a2->__begin_[593].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      v33 = (std::__vector_base<std::string>::pointer)v33->m_data.m_long.capacitym1;\n    v34 = atoi((const char *)v33);\n  }\n  else\n  {\n    v34 = Disabled;\n  }\n  a1->m_boostSlide = v34;\n}", "assembly": "; \n; GameOptionsTrigger::customObjectSetup from 0x100380448 to 0x100380728 (736 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100801010\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, 0x100380448\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10038044c\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x100380450\nADD             X29, SP, #0x20                                         ; +0xc, 0x100380454\nMOV             X21, X2                                                ; +0x10, 0x100380458\nMOV             X20, X1                                                ; +0x14, 0x10038045c\nMOV             X19, X0                                                ; +0x18, 0x100380460\nBL              EffectGameObject__customObjectSetup                    ; +0x1c, 0x100380464\nLDR             X21, [X21]                                             ; +0x20, 0x100380468\nLDR             X8, [X21,#0x4F8]                                       ; +0x24, 0x10038046c\nCBZ             X8, loc_100380490                                      ; +0x28, 0x100380470\nLDR             X8, [X20]                                              ; +0x2c, 0x100380474\nADD             X0, X8, #0xEE8                                         ; +0x30, 0x100380478\nLDRSB           W8, [X8,#0xEFF]                                        ; +0x34, 0x10038047c\nTBZ             W8, #0x1F, loc_100380488                               ; +0x38, 0x100380480\nLDR             X0, [X0]; char *                                       ; +0x3c, 0x100380484\nBL              _atoi                                                  ; +0x40, 0x100380488\nB               loc_100380494                                          ; +0x44, 0x10038048c\nMOV             W0, #0                                                 ; +0x48, 0x100380490\nSTR             W0, [X19,#0x72C]                                       ; +0x4c, 0x100380494\nLDR             X8, [X21,#0x500]                                       ; +0x50, 0x100380498\nCBZ             X8, loc_1003804BC                                      ; +0x54, 0x10038049c\nLDR             X8, [X20]                                              ; +0x58, 0x1003804a0\nADD             X0, X8, #0xF00                                         ; +0x5c, 0x1003804a4\nLDRSB           W8, [X8,#0xF17]                                        ; +0x60, 0x1003804a8\nTBZ             W8, #0x1F, loc_1003804B4                               ; +0x64, 0x1003804ac\nLDR             X0, [X0]; char *                                       ; +0x68, 0x1003804b0\nBL              _atoi                                                  ; +0x6c, 0x1003804b4\nB               loc_1003804C0                                          ; +0x70, 0x1003804b8\nMOV             W0, #0                                                 ; +0x74, 0x1003804bc\nSTR             W0, [X19,#0x730]                                       ; +0x78, 0x1003804c0\nLDR             X8, [X21,#0x508]                                       ; +0x7c, 0x1003804c4\nCBZ             X8, loc_1003804E8                                      ; +0x80, 0x1003804c8\nLDR             X8, [X20]                                              ; +0x84, 0x1003804cc\nADD             X0, X8, #0xF18                                         ; +0x88, 0x1003804d0\nLDRSB           W8, [X8,#0xF2F]                                        ; +0x8c, 0x1003804d4\nTBZ             W8, #0x1F, loc_1003804E0                               ; +0x90, 0x1003804d8\nLDR             X0, [X0]; char *                                       ; +0x94, 0x1003804dc\nBL              _atoi                                                  ; +0x98, 0x1003804e0\nB               loc_1003804EC                                          ; +0x9c, 0x1003804e4\nMOV             W0, #0                                                 ; +0xa0, 0x1003804e8\nSTR             W0, [X19,#0x734]                                       ; +0xa4, 0x1003804ec\nLDR             X8, [X21,#0x510]                                       ; +0xa8, 0x1003804f0\nCBZ             X8, loc_100380514                                      ; +0xac, 0x1003804f4\nLDR             X8, [X20]                                              ; +0xb0, 0x1003804f8\nADD             X0, X8, #0xF30                                         ; +0xb4, 0x1003804fc\nLDRSB           W8, [X8,#0xF47]                                        ; +0xb8, 0x100380500\nTBZ             W8, #0x1F, loc_10038050C                               ; +0xbc, 0x100380504\nLDR             X0, [X0]; char *                                       ; +0xc0, 0x100380508\nBL              _atoi                                                  ; +0xc4, 0x10038050c\nB               loc_100380518                                          ; +0xc8, 0x100380510\nMOV             W0, #0                                                 ; +0xcc, 0x100380514\nSTR             W0, [X19,#0x738]                                       ; +0xd0, 0x100380518\nLDR             X8, [X21,#0x518]                                       ; +0xd4, 0x10038051c\nCBZ             X8, loc_100380540                                      ; +0xd8, 0x100380520\nLDR             X8, [X20]                                              ; +0xdc, 0x100380524\nADD             X0, X8, #0xF48                                         ; +0xe0, 0x100380528\nLDRSB           W8, [X8,#0xF5F]                                        ; +0xe4, 0x10038052c\nTBZ             W8, #0x1F, loc_100380538                               ; +0xe8, 0x100380530\nLDR             X0, [X0]; char *                                       ; +0xec, 0x100380534\nBL              _atoi                                                  ; +0xf0, 0x100380538\nB               loc_100380544                                          ; +0xf4, 0x10038053c\nMOV             W0, #0                                                 ; +0xf8, 0x100380540\nSTR             W0, [X19,#0x73C]                                       ; +0xfc, 0x100380544\nLDR             X8, [X21,#0x528]                                       ; +0x100, 0x100380548\nCBZ             X8, loc_10038056C                                      ; +0x104, 0x10038054c\nLDR             X8, [X20]                                              ; +0x108, 0x100380550\nADD             X0, X8, #0xF78                                         ; +0x10c, 0x100380554\nLDRSB           W8, [X8,#0xF8F]                                        ; +0x110, 0x100380558\nTBZ             W8, #0x1F, loc_100380564                               ; +0x114, 0x10038055c\nLDR             X0, [X0]; char *                                       ; +0x118, 0x100380560\nBL              _atoi                                                  ; +0x11c, 0x100380564\nB               loc_100380570                                          ; +0x120, 0x100380568\nMOV             W0, #0                                                 ; +0x124, 0x10038056c\nSTR             W0, [X19,#0x740]                                       ; +0x128, 0x100380570\nLDR             X8, [X21,#0x638]                                       ; +0x12c, 0x100380574\nCBZ             X8, loc_1003805A0                                      ; +0x130, 0x100380578\nLDR             X8, [X20]                                              ; +0x134, 0x10038057c\nMOV             W9, #0x12A8                                            ; +0x138, 0x100380580\nADD             X0, X8, X9                                             ; +0x13c, 0x100380584\nMOV             W9, #0x12BF                                            ; +0x140, 0x100380588\nLDRSB           W8, [X8,X9]                                            ; +0x144, 0x10038058c\nTBZ             W8, #0x1F, loc_100380598                               ; +0x148, 0x100380590\nLDR             X0, [X0]; char *                                       ; +0x14c, 0x100380594\nBL              _atoi                                                  ; +0x150, 0x100380598\nB               loc_1003805A4                                          ; +0x154, 0x10038059c\nMOV             W0, #0                                                 ; +0x158, 0x1003805a0\nSTR             W0, [X19,#0x744]                                       ; +0x15c, 0x1003805a4\nLDR             X8, [X21,#0x618]                                       ; +0x160, 0x1003805a8\nCBZ             X8, loc_1003805D4                                      ; +0x164, 0x1003805ac\nLDR             X8, [X20]                                              ; +0x168, 0x1003805b0\nMOV             W9, #0x1248                                            ; +0x16c, 0x1003805b4\nADD             X0, X8, X9                                             ; +0x170, 0x1003805b8\nMOV             W9, #0x125F                                            ; +0x174, 0x1003805bc\nLDRSB           W8, [X8,X9]                                            ; +0x178, 0x1003805c0\nTBZ             W8, #0x1F, loc_1003805CC                               ; +0x17c, 0x1003805c4\nLDR             X0, [X0]; char *                                       ; +0x180, 0x1003805c8\nBL              _atoi                                                  ; +0x184, 0x1003805cc\nB               loc_1003805D8                                          ; +0x188, 0x1003805d0\nMOV             W0, #0                                                 ; +0x18c, 0x1003805d4\nSTR             W0, [X19,#0x748]                                       ; +0x190, 0x1003805d8\nLDR             X8, [X21,#0x10A0]                                      ; +0x194, 0x1003805dc\nCBZ             X8, loc_100380608                                      ; +0x198, 0x1003805e0\nLDR             X8, [X20]                                              ; +0x19c, 0x1003805e4\nMOV             W9, #0x31E0                                            ; +0x1a0, 0x1003805e8\nADD             X0, X8, X9                                             ; +0x1a4, 0x1003805ec\nMOV             W9, #0x31F7                                            ; +0x1a8, 0x1003805f0\nLDRSB           W8, [X8,X9]                                            ; +0x1ac, 0x1003805f4\nTBZ             W8, #0x1F, loc_100380600                               ; +0x1b0, 0x1003805f8\nLDR             X0, [X0]; char *                                       ; +0x1b4, 0x1003805fc\nBL              _atoi                                                  ; +0x1b8, 0x100380600\nB               loc_10038060C                                          ; +0x1bc, 0x100380604\nMOV             W0, #0                                                 ; +0x1c0, 0x100380608\nSTR             W0, [X19,#0x74C]                                       ; +0x1c4, 0x10038060c\nLDR             X8, [X21,#0x11E8]                                      ; +0x1c8, 0x100380610\nCBZ             X8, loc_10038063C                                      ; +0x1cc, 0x100380614\nLDR             X8, [X20]                                              ; +0x1d0, 0x100380618\nMOV             W9, #0x35B8                                            ; +0x1d4, 0x10038061c\nADD             X0, X8, X9                                             ; +0x1d8, 0x100380620\nMOV             W9, #0x35CF                                            ; +0x1dc, 0x100380624\nLDRSB           W8, [X8,X9]                                            ; +0x1e0, 0x100380628\nTBZ             W8, #0x1F, loc_100380634                               ; +0x1e4, 0x10038062c\nLDR             X0, [X0]; char *                                       ; +0x1e8, 0x100380630\nBL              _atoi                                                  ; +0x1ec, 0x100380634\nB               loc_100380640                                          ; +0x1f0, 0x100380638\nMOV             W0, #0                                                 ; +0x1f4, 0x10038063c\nSTR             W0, [X19,#0x750]                                       ; +0x1f8, 0x100380640\nLDR             X8, [X21,#0x11F0]                                      ; +0x1fc, 0x100380644\nCBZ             X8, loc_100380674                                      ; +0x200, 0x100380648\nLDR             X8, [X20]                                              ; +0x204, 0x10038064c\nMOV             W9, #0x35D0                                            ; +0x208, 0x100380650\nADD             X0, X8, X9                                             ; +0x20c, 0x100380654\nMOV             W9, #0x35E7                                            ; +0x210, 0x100380658\nLDRSB           W8, [X8,X9]                                            ; +0x214, 0x10038065c\nTBZ             W8, #0x1F, loc_100380668                               ; +0x218, 0x100380660\nLDR             X0, [X0]; char *                                       ; +0x21c, 0x100380664\nBL              _atof                                                  ; +0x220, 0x100380668\nFCVT            S0, D0                                                 ; +0x224, 0x10038066c\nB               loc_100380678                                          ; +0x228, 0x100380670\nFMOV            S0, WZR                                                ; +0x22c, 0x100380674\nSTR             S0, [X19,#0x754]                                       ; +0x230, 0x100380678\nLDR             X8, [X21,#0x11F8]                                      ; +0x234, 0x10038067c\nCBZ             X8, loc_1003806A8                                      ; +0x238, 0x100380680\nLDR             X8, [X20]                                              ; +0x23c, 0x100380684\nMOV             W9, #0x35E8                                            ; +0x240, 0x100380688\nADD             X0, X8, X9                                             ; +0x244, 0x10038068c\nMOV             W9, #0x35FF                                            ; +0x248, 0x100380690\nLDRSB           W8, [X8,X9]                                            ; +0x24c, 0x100380694\nTBZ             W8, #0x1F, loc_1003806A0                               ; +0x250, 0x100380698\nLDR             X0, [X0]; char *                                       ; +0x254, 0x10038069c\nBL              _atoi                                                  ; +0x258, 0x1003806a0\nB               loc_1003806AC                                          ; +0x25c, 0x1003806a4\nMOV             W0, #0                                                 ; +0x260, 0x1003806a8\nSTR             W0, [X19,#0x758]                                       ; +0x264, 0x1003806ac\nLDR             X8, [X21,#0x1200]                                      ; +0x268, 0x1003806b0\nCBZ             X8, loc_1003806DC                                      ; +0x26c, 0x1003806b4\nLDR             X8, [X20]                                              ; +0x270, 0x1003806b8\nMOV             W9, #0x3600                                            ; +0x274, 0x1003806bc\nADD             X0, X8, X9                                             ; +0x278, 0x1003806c0\nMOV             W9, #0x3617                                            ; +0x27c, 0x1003806c4\nLDRSB           W8, [X8,X9]                                            ; +0x280, 0x1003806c8\nTBZ             W8, #0x1F, loc_1003806D4                               ; +0x284, 0x1003806cc\nLDR             X0, [X0]; char *                                       ; +0x288, 0x1003806d0\nBL              _atoi                                                  ; +0x28c, 0x1003806d4\nB               loc_1003806E0                                          ; +0x290, 0x1003806d8\nMOV             W0, #0                                                 ; +0x294, 0x1003806dc\nSTR             W0, [X19,#0x75C]                                       ; +0x298, 0x1003806e0\nLDR             X8, [X21,#0x1288]                                      ; +0x29c, 0x1003806e4\nCBZ             X8, loc_100380710                                      ; +0x2a0, 0x1003806e8\nLDR             X8, [X20]                                              ; +0x2a4, 0x1003806ec\nMOV             W9, #0x3798                                            ; +0x2a8, 0x1003806f0\nADD             X0, X8, X9                                             ; +0x2ac, 0x1003806f4\nMOV             W9, #0x37AF                                            ; +0x2b0, 0x1003806f8\nLDRSB           W8, [X8,X9]                                            ; +0x2b4, 0x1003806fc\nTBZ             W8, #0x1F, loc_100380708                               ; +0x2b8, 0x100380700\nLDR             X0, [X0]; char *                                       ; +0x2bc, 0x100380704\nBL              _atoi                                                  ; +0x2c0, 0x100380708\nB               loc_100380714                                          ; +0x2c4, 0x10038070c\nMOV             W0, #0                                                 ; +0x2c8, 0x100380710\nSTR             W0, [X19,#0x760]                                       ; +0x2cc, 0x100380714\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x2d0, 0x100380718\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x2d4, 0x10038071c\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x2d8, 0x100380720\nRET                                                                    ; +0x2dc, 0x100380724", "xrefs": ["<???> @ 0x100801010"], "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"}