{"type": "func", "start": 4296658608, "end": 4296659399, "name": "GradientTriggerObject::customObjectSetup", "pseudocode": "// \n// GradientTriggerObject::customObjectSetup from 0x10019ceb0 to 0x10019d1c7 (791 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008cb678\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 GradientTriggerObject::customObjectSetup(\n        GradientTriggerObject *a1,\n        std::vector<std::string> *a2,\n        std::vector<void *> *a3)\n{\n  std::__vector_base<void *>::pointer begin; // r13\n  int v6; // r15d\n  int v7; // eax\n  std::__vector_base<std::string>::pointer v8; // rdi\n  const char *longStorage; // rdi\n  std::__vector_base<std::string>::pointer v10; // rdi\n  const char *elems; // rdi\n  int v12; // r12d\n  int v13; // eax\n  std::__vector_base<std::string>::pointer v14; // rdi\n  const char *v15; // rdi\n  std::__vector_base<std::string>::pointer v16; // rdi\n  const char *v17; // rdi\n  int v18; // r12d\n  int v19; // eax\n  std::__vector_base<std::string>::pointer v20; // rdi\n  const char *v21; // rdi\n  std::__vector_base<std::string>::pointer v22; // rdi\n  const char *v23; // rdi\n  std::__vector_base<std::string>::pointer v24; // rdi\n  const char *v25; // rdi\n  std::__vector_base<std::string>::pointer v26; // rdi\n  const char *v27; // rdi\n  std::__vector_base<std::string>::pointer v28; // rdi\n  const char *v29; // rdi\n  float v30; // xmm0_4\n  std::__vector_base<std::string>::pointer v31; // rdi\n  const char *v32; // rdi\n  std::__vector_base<std::string>::pointer v33; // rdi\n  const char *v34; // rdi\n\n  EffectGameObject::customObjectSetup(a1, a2, a3);\n  begin = a3->__begin_;\n  v6 = 0;\n  v7 = 0;\n  if ( begin[174] )\n  {\n    v8 = a2->__begin_;\n    if ( (a2->__begin_[174].m_data.m_short.sizex2 & 1) != 0 )\n      longStorage = v8[174].m_data.m_long.longStorage;\n    else\n      longStorage = v8[174].m_data.m_short.shortStorage.__elems_;\n    v7 = (int)atof(longStorage);\n  }\n  a1->m_blendingMode = v7;\n  if ( begin[202] )\n  {\n    v10 = a2->__begin_;\n    if ( (a2->__begin_[202].m_data.m_short.sizex2 & 1) != 0 )\n      elems = v10[202].m_data.m_long.longStorage;\n    else\n      elems = v10[202].m_data.m_short.shortStorage.__elems_;\n    v6 = atoi(elems);\n  }\n  a1->m_blendingLayer = v6;\n  v12 = 0;\n  v13 = 0;\n  if ( begin[203] )\n  {\n    v14 = a2->__begin_;\n    if ( (a2->__begin_[203].m_data.m_short.sizex2 & 1) != 0 )\n      v15 = v14[203].m_data.m_long.longStorage;\n    else\n      v15 = v14[203].m_data.m_short.shortStorage.__elems_;\n    v13 = atoi(v15);\n  }\n  a1->m_upBottomLeftID = v13;\n  if ( begin[204] )\n  {\n    v16 = a2->__begin_;\n    if ( (a2->__begin_[204].m_data.m_short.sizex2 & 1) != 0 )\n      v17 = v16[204].m_data.m_long.longStorage;\n    else\n      v17 = v16[204].m_data.m_short.shortStorage.__elems_;\n    v12 = atoi(v17);\n  }\n  a1->m_downBottomRightID = v12;\n  v18 = 0;\n  v19 = 0;\n  if ( begin[205] )\n  {\n    v20 = a2->__begin_;\n    if ( (a2->__begin_[205].m_data.m_short.sizex2 & 1) != 0 )\n      v21 = v20[205].m_data.m_long.longStorage;\n    else\n      v21 = v20[205].m_data.m_short.shortStorage.__elems_;\n    v19 = atoi(v21);\n  }\n  a1->m_leftTopLeftID = v19;\n  if ( begin[206] )\n  {\n    v22 = a2->__begin_;\n    if ( (a2->__begin_[206].m_data.m_short.sizex2 & 1) != 0 )\n      v23 = v22[206].m_data.m_long.longStorage;\n    else\n      v23 = v22[206].m_data.m_short.shortStorage.__elems_;\n    v18 = atoi(v23);\n  }\n  a1->m_rightTopRightID = v18;\n  if ( !begin[207] )\n  {\n    a1->m_vertexMode = 0;\n    if ( begin[208] )\n      goto LABEL_42;\nLABEL_35:\n    a1->m_disable = 0;\n    if ( begin[508] )\n      goto LABEL_50;\nLABEL_36:\n    a1->m_disableAll = 0;\n    if ( begin[209] )\n      goto LABEL_54;\nLABEL_37:\n    a1->m_gradientID = 0;\n    if ( !begin[456] )\n      goto LABEL_58;\nLABEL_38:\n    v26 = a2->__begin_;\n    if ( (a2->__begin_[456].m_data.m_short.sizex2 & 1) != 0 )\n      v27 = v26[456].m_data.m_long.longStorage;\n    else\n      v27 = v26[456].m_data.m_short.shortStorage.__elems_;\n    v30 = atof(v27);\n    a1->m_previewOpacity = v30;\n    if ( v6 <= 0 )\n      goto LABEL_46;\n    return;\n  }\n  v24 = a2->__begin_;\n  if ( (a2->__begin_[207].m_data.m_short.sizex2 & 1) != 0 )\n    v25 = v24[207].m_data.m_long.longStorage;\n  else\n    v25 = v24[207].m_data.m_short.shortStorage.__elems_;\n  a1->m_vertexMode = atoi(v25) != 0;\n  if ( !begin[208] )\n    goto LABEL_35;\nLABEL_42:\n  v28 = a2->__begin_;\n  if ( (a2->__begin_[208].m_data.m_short.sizex2 & 1) != 0 )\n    v29 = v28[208].m_data.m_long.longStorage;\n  else\n    v29 = v28[208].m_data.m_short.shortStorage.__elems_;\n  a1->m_disable = atoi(v29) != 0;\n  if ( !begin[508] )\n    goto LABEL_36;\nLABEL_50:\n  v31 = a2->__begin_;\n  if ( (a2->__begin_[508].m_data.m_short.sizex2 & 1) != 0 )\n    v32 = v31[508].m_data.m_long.longStorage;\n  else\n    v32 = v31[508].m_data.m_short.shortStorage.__elems_;\n  a1->m_disableAll = atoi(v32) != 0;\n  if ( !begin[209] )\n    goto LABEL_37;\nLABEL_54:\n  v33 = a2->__begin_;\n  if ( (a2->__begin_[209].m_data.m_short.sizex2 & 1) != 0 )\n    v34 = v33[209].m_data.m_long.longStorage;\n  else\n    v34 = v33[209].m_data.m_short.shortStorage.__elems_;\n  a1->m_gradientID = atoi(v34);\n  if ( begin[456] )\n    goto LABEL_38;\nLABEL_58:\n  a1->m_previewOpacity = 0.0;\n  if ( v6 <= 0 )\nLABEL_46:\n    a1->m_blendingLayer = 1;\n}", "assembly": "; \n; GradientTriggerObject::customObjectSetup from 0x10019ceb0 to 0x10019d1c7 (791 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008cb678\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\npush    rbp                                                            ; +0x0, 0x10019ceb0\nmov     rbp, rsp                                                       ; +0x1, 0x10019ceb1\npush    r15                                                            ; +0x4, 0x10019ceb4\npush    r14                                                            ; +0x6, 0x10019ceb6\npush    r13                                                            ; +0x8, 0x10019ceb8\npush    r12                                                            ; +0xa, 0x10019ceba\npush    rbx                                                            ; +0xc, 0x10019cebc\npush    rax                                                            ; +0xd, 0x10019cebd\nmov     r15, rdx                                                       ; +0xe, 0x10019cebe\nmov     r14, rsi                                                       ; +0x11, 0x10019cec1\nmov     rbx, rdi                                                       ; +0x14, 0x10019cec4\ncall    EffectGameObject__customObjectSetup                            ; +0x17, 0x10019cec7\nmov     r13, [r15]                                                     ; +0x1c, 0x10019cecc\nxor     r15d, r15d                                                     ; +0x1f, 0x10019cecf\ncmp     qword ptr [r13+570h], 0                                        ; +0x22, 0x10019ced2\nmov     eax, 0                                                         ; +0x2a, 0x10019ceda\njz      short loc_10019CF06                                            ; +0x2f, 0x10019cedf\nmov     rdi, [r14]                                                     ; +0x31, 0x10019cee1\ntest    byte ptr [rdi+1050h], 1                                        ; +0x34, 0x10019cee4\njnz     short loc_10019CEF6                                            ; +0x3b, 0x10019ceeb\nadd     rdi, 1051h                                                     ; +0x3d, 0x10019ceed\njmp     short loc_10019CEFD                                            ; +0x44, 0x10019cef4\nmov     rdi, [rdi+1060h]; char *                                       ; +0x46, 0x10019cef6\ncall    _atof                                                          ; +0x4d, 0x10019cefd\ncvttsd2si eax, xmm0                                                    ; +0x52, 0x10019cf02\nmov     [rbx+730h], eax                                                ; +0x56, 0x10019cf06\ncmp     qword ptr [r13+650h], 0                                        ; +0x5c, 0x10019cf0c\njz      short loc_10019CF3A                                            ; +0x64, 0x10019cf14\nmov     rdi, [r14]                                                     ; +0x66, 0x10019cf16\ntest    byte ptr [rdi+12F0h], 1                                        ; +0x69, 0x10019cf19\njnz     short loc_10019CF2B                                            ; +0x70, 0x10019cf20\nadd     rdi, 12F1h                                                     ; +0x72, 0x10019cf22\njmp     short loc_10019CF32                                            ; +0x79, 0x10019cf29\nmov     rdi, [rdi+1300h]; char *                                       ; +0x7b, 0x10019cf2b\ncall    _atoi                                                          ; +0x82, 0x10019cf32\nmov     r15d, eax                                                      ; +0x87, 0x10019cf37\nmov     [rbx+72Ch], r15d                                               ; +0x8a, 0x10019cf3a\nxor     r12d, r12d                                                     ; +0x91, 0x10019cf41\ncmp     qword ptr [r13+658h], 0                                        ; +0x94, 0x10019cf44\nmov     eax, 0                                                         ; +0x9c, 0x10019cf4c\njz      short loc_10019CF74                                            ; +0xa1, 0x10019cf51\nmov     rdi, [r14]                                                     ; +0xa3, 0x10019cf53\ntest    byte ptr [rdi+1308h], 1                                        ; +0xa6, 0x10019cf56\njnz     short loc_10019CF68                                            ; +0xad, 0x10019cf5d\nadd     rdi, 1309h                                                     ; +0xaf, 0x10019cf5f\njmp     short loc_10019CF6F                                            ; +0xb6, 0x10019cf66\nmov     rdi, [rdi+1318h]; char *                                       ; +0xb8, 0x10019cf68\ncall    _atoi                                                          ; +0xbf, 0x10019cf6f\nmov     [rbx+738h], eax                                                ; +0xc4, 0x10019cf74\ncmp     qword ptr [r13+660h], 0                                        ; +0xca, 0x10019cf7a\njz      short loc_10019CFA8                                            ; +0xd2, 0x10019cf82\nmov     rdi, [r14]                                                     ; +0xd4, 0x10019cf84\ntest    byte ptr [rdi+1320h], 1                                        ; +0xd7, 0x10019cf87\njnz     short loc_10019CF99                                            ; +0xde, 0x10019cf8e\nadd     rdi, 1321h                                                     ; +0xe0, 0x10019cf90\njmp     short loc_10019CFA0                                            ; +0xe7, 0x10019cf97\nmov     rdi, [rdi+1330h]; char *                                       ; +0xe9, 0x10019cf99\ncall    _atoi                                                          ; +0xf0, 0x10019cfa0\nmov     r12d, eax                                                      ; +0xf5, 0x10019cfa5\nmov     [rbx+73Ch], r12d                                               ; +0xf8, 0x10019cfa8\nxor     r12d, r12d                                                     ; +0xff, 0x10019cfaf\ncmp     qword ptr [r13+668h], 0                                        ; +0x102, 0x10019cfb2\nmov     eax, 0                                                         ; +0x10a, 0x10019cfba\njz      short loc_10019CFE2                                            ; +0x10f, 0x10019cfbf\nmov     rdi, [r14]                                                     ; +0x111, 0x10019cfc1\ntest    byte ptr [rdi+1338h], 1                                        ; +0x114, 0x10019cfc4\njnz     short loc_10019CFD6                                            ; +0x11b, 0x10019cfcb\nadd     rdi, 1339h                                                     ; +0x11d, 0x10019cfcd\njmp     short loc_10019CFDD                                            ; +0x124, 0x10019cfd4\nmov     rdi, [rdi+1348h]; char *                                       ; +0x126, 0x10019cfd6\ncall    _atoi                                                          ; +0x12d, 0x10019cfdd\nmov     [rbx+740h], eax                                                ; +0x132, 0x10019cfe2\ncmp     qword ptr [r13+670h], 0                                        ; +0x138, 0x10019cfe8\njz      short loc_10019D016                                            ; +0x140, 0x10019cff0\nmov     rdi, [r14]                                                     ; +0x142, 0x10019cff2\ntest    byte ptr [rdi+1350h], 1                                        ; +0x145, 0x10019cff5\njnz     short loc_10019D007                                            ; +0x14c, 0x10019cffc\nadd     rdi, 1351h                                                     ; +0x14e, 0x10019cffe\njmp     short loc_10019D00E                                            ; +0x155, 0x10019d005\nmov     rdi, [rdi+1360h]; char *                                       ; +0x157, 0x10019d007\ncall    _atoi                                                          ; +0x15e, 0x10019d00e\nmov     r12d, eax                                                      ; +0x163, 0x10019d013\nmov     [rbx+744h], r12d                                               ; +0x166, 0x10019d016\ncmp     qword ptr [r13+678h], 0                                        ; +0x16d, 0x10019d01d\njz      short loc_10019D03C                                            ; +0x175, 0x10019d025\nmov     rdi, [r14]                                                     ; +0x177, 0x10019d027\ntest    byte ptr [rdi+1368h], 1                                        ; +0x17a, 0x10019d02a\njnz     short loc_10019D0A7                                            ; +0x181, 0x10019d031\nadd     rdi, 1369h                                                     ; +0x183, 0x10019d033\njmp     short loc_10019D0AE                                            ; +0x18a, 0x10019d03a\nxor     eax, eax                                                       ; +0x18c, 0x10019d03c\nmov     [rbx+748h], al                                                 ; +0x18e, 0x10019d03e\ncmp     qword ptr [r13+680h], 0                                        ; +0x194, 0x10019d044\njnz     short loc_10019D0C8                                            ; +0x19c, 0x10019d04c\nxor     eax, eax                                                       ; +0x19e, 0x10019d04e\nmov     [rbx+749h], al                                                 ; +0x1a0, 0x10019d050\nxor     r12d, r12d                                                     ; +0x1a6, 0x10019d056\ncmp     qword ptr [r13+0FE0h], 0                                       ; +0x1a9, 0x10019d059\njnz     loc_10019D13B                                                  ; +0x1b1, 0x10019d061\nxor     eax, eax                                                       ; +0x1b7, 0x10019d067\nmov     [rbx+74Ah], al                                                 ; +0x1b9, 0x10019d069\ncmp     qword ptr [r13+688h], 0                                        ; +0x1bf, 0x10019d06f\njnz     loc_10019D175                                                  ; +0x1c7, 0x10019d077\nmov     [rbx+734h], r12d                                               ; +0x1cd, 0x10019d07d\ncmp     qword ptr [r13+0E40h], 0                                       ; +0x1d4, 0x10019d084\njz      loc_10019D1AE                                                  ; +0x1dc, 0x10019d08c\nmov     rdi, [r14]                                                     ; +0x1e2, 0x10019d092\ntest    byte ptr [rdi+2AC0h], 1                                        ; +0x1e5, 0x10019d095\njnz     short loc_10019D0DD                                            ; +0x1ec, 0x10019d09c\nadd     rdi, 2AC1h                                                     ; +0x1ee, 0x10019d09e\njmp     short loc_10019D0E4                                            ; +0x1f5, 0x10019d0a5\nmov     rdi, [rdi+1378h]; char *                                       ; +0x1f7, 0x10019d0a7\ncall    _atoi                                                          ; +0x1fe, 0x10019d0ae\ntest    eax, eax                                                       ; +0x203, 0x10019d0b3\nsetnz   al                                                             ; +0x205, 0x10019d0b5\nmov     [rbx+748h], al                                                 ; +0x208, 0x10019d0b8\ncmp     qword ptr [r13+680h], 0                                        ; +0x20e, 0x10019d0be\njz      short loc_10019D04E                                            ; +0x216, 0x10019d0c6\nmov     rdi, [r14]                                                     ; +0x218, 0x10019d0c8\ntest    byte ptr [rdi+1380h], 1                                        ; +0x21b, 0x10019d0cb\njnz     short loc_10019D113                                            ; +0x222, 0x10019d0d2\nadd     rdi, 1381h                                                     ; +0x224, 0x10019d0d4\njmp     short loc_10019D11A                                            ; +0x22b, 0x10019d0db\nmov     rdi, [rdi+2AD0h]; char *                                       ; +0x22d, 0x10019d0dd\ncall    _atof                                                          ; +0x234, 0x10019d0e4\ncvtsd2ss xmm0, xmm0                                                    ; +0x239, 0x10019d0e9\nmovss   dword ptr [rbx+74Ch], xmm0                                     ; +0x23d, 0x10019d0ed\ntest    r15d, r15d                                                     ; +0x245, 0x10019d0f5\njg      short loc_10019D104                                            ; +0x248, 0x10019d0f8\nmov     dword ptr [rbx+72Ch], 1                                        ; +0x24a, 0x10019d0fa\nadd     rsp, 8                                                         ; +0x254, 0x10019d104\npop     rbx                                                            ; +0x258, 0x10019d108\npop     r12                                                            ; +0x259, 0x10019d109\npop     r13                                                            ; +0x25b, 0x10019d10b\npop     r14                                                            ; +0x25d, 0x10019d10d\npop     r15                                                            ; +0x25f, 0x10019d10f\npop     rbp                                                            ; +0x261, 0x10019d111\nretn                                                                   ; +0x262, 0x10019d112\nmov     rdi, [rdi+1390h]; char *                                       ; +0x263, 0x10019d113\ncall    _atoi                                                          ; +0x26a, 0x10019d11a\ntest    eax, eax                                                       ; +0x26f, 0x10019d11f\nsetnz   al                                                             ; +0x271, 0x10019d121\nmov     [rbx+749h], al                                                 ; +0x274, 0x10019d124\nxor     r12d, r12d                                                     ; +0x27a, 0x10019d12a\ncmp     qword ptr [r13+0FE0h], 0                                       ; +0x27d, 0x10019d12d\njz      loc_10019D067                                                  ; +0x285, 0x10019d135\nmov     rdi, [r14]                                                     ; +0x28b, 0x10019d13b\ntest    byte ptr [rdi+2FA0h], 1                                        ; +0x28e, 0x10019d13e\njnz     short loc_10019D150                                            ; +0x295, 0x10019d145\nadd     rdi, 2FA1h                                                     ; +0x297, 0x10019d147\njmp     short loc_10019D157                                            ; +0x29e, 0x10019d14e\nmov     rdi, [rdi+2FB0h]; char *                                       ; +0x2a0, 0x10019d150\ncall    _atoi                                                          ; +0x2a7, 0x10019d157\ntest    eax, eax                                                       ; +0x2ac, 0x10019d15c\nsetnz   al                                                             ; +0x2ae, 0x10019d15e\nmov     [rbx+74Ah], al                                                 ; +0x2b1, 0x10019d161\ncmp     qword ptr [r13+688h], 0                                        ; +0x2b7, 0x10019d167\njz      loc_10019D07D                                                  ; +0x2bf, 0x10019d16f\nmov     rdi, [r14]                                                     ; +0x2c5, 0x10019d175\ntest    byte ptr [rdi+1398h], 1                                        ; +0x2c8, 0x10019d178\njnz     short loc_10019D18A                                            ; +0x2cf, 0x10019d17f\nadd     rdi, 1399h                                                     ; +0x2d1, 0x10019d181\njmp     short loc_10019D191                                            ; +0x2d8, 0x10019d188\nmov     rdi, [rdi+13A8h]; char *                                       ; +0x2da, 0x10019d18a\ncall    _atoi                                                          ; +0x2e1, 0x10019d191\nmov     r12d, eax                                                      ; +0x2e6, 0x10019d196\nmov     [rbx+734h], r12d                                               ; +0x2e9, 0x10019d199\ncmp     qword ptr [r13+0E40h], 0                                       ; +0x2f0, 0x10019d1a0\njnz     loc_10019D092                                                  ; +0x2f8, 0x10019d1a8\nxorps   xmm0, xmm0                                                     ; +0x2fe, 0x10019d1ae\nmovss   dword ptr [rbx+74Ch], xmm0                                     ; +0x301, 0x10019d1b1\ntest    r15d, r15d                                                     ; +0x309, 0x10019d1b9\njg      loc_10019D104                                                  ; +0x30c, 0x10019d1bc\njmp     loc_10019D0FA                                                  ; +0x312, 0x10019d1c2", "xrefs": ["<???> @ 0x1008cb678"], "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"}