{"type": "func", "start": 5373567120, "end": 5373567397, "name": "RingObject::customObjectSetup", "pseudocode": "// \n// RingObject::customObjectSetup from 0x1404a2090 to 0x1404a21a5 (277 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x14061cad0\n// > <???> @ 0x1406a7c5c\n// > <???> @ 0x1406a7c6c\n// > <???> @ 0x1406dc758\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 RingObject::customObjectSetup(RingObject *a1, std::vector<std::string> *a2, std::vector<void *> *a3)\n{\n  int v6; // 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  std::_Vector_val<std::_Simple_types<std::string>>::pointer v13; // rcx\n\n  EffectGameObject::customObjectSetup(a1, a2, a3);\n  if ( a1->m_objectType == CustomRing )\n  {\n    v6 = 0;\n    if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 51) )\n    {\n      m_bigStorage = a2->_Mypair._Myval2._Myfirst + 51;\n      if ( a2->_Mypair._Myval2._Myfirst[51].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_targetGroupID = v7;\n    if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 56) )\n    {\n      v10 = a2->_Mypair._Myval2._Myfirst + 56;\n      if ( a2->_Mypair._Myval2._Myfirst[56].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_activateGroup = v9 != 0;\n    if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 445) )\n    {\n      v12 = a2->_Mypair._Myval2._Myfirst + 445;\n      if ( a2->_Mypair._Myval2._Myfirst[445].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_claimTouch = v11 != 0;\n    if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 504) )\n    {\n      v13 = a2->_Mypair._Myval2._Myfirst + 504;\n      if ( a2->_Mypair._Myval2._Myfirst[504].m_data.m_capacity > 0xF )\n        v13 = (std::_Vector_val<std::_Simple_types<std::string>>::pointer)v13->m_data.m_bigStorage;\n      v6 = atoi(v13->m_data.m_smallStorage._Elems);\n    }\n    a1->m_isSpawnOnly = v6 != 0;\n  }\n}", "assembly": "; \n; RingObject::customObjectSetup from 0x1404a2090 to 0x1404a21a5 (277 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x14061cad0\n; > <???> @ 0x1406a7c5c\n; > <???> @ 0x1406a7c6c\n; > <???> @ 0x1406dc758\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_8], rsi                                               ; +0x0, 0x1404a2090\nmov     [rsp+arg_10], rdi                                              ; +0x5, 0x1404a2095\npush    r14                                                            ; +0xa, 0x1404a209a\nsub     rsp, 20h                                                       ; +0xc, 0x1404a209c\nmov     rsi, r8                                                        ; +0x10, 0x1404a20a0\nmov     r14, rdx                                                       ; +0x13, 0x1404a20a3\nmov     rdi, rcx                                                       ; +0x16, 0x1404a20a6\ncall    EffectGameObject__customObjectSetup                            ; +0x19, 0x1404a20a9\ncmp     dword ptr [rdi+3A0h], 24h ; '$'                                ; +0x1e, 0x1404a20ae\njnz     loc_1404A2194                                                  ; +0x25, 0x1404a20b5\nmov     rax, [rsi]                                                     ; +0x2b, 0x1404a20bb\nmov     [rsp+28h+arg_0], rbx                                           ; +0x2e, 0x1404a20be\nxor     ebx, ebx                                                       ; +0x33, 0x1404a20c3\ncmp     [rax+198h], rbx                                                ; +0x35, 0x1404a20c5\njnz     short loc_1404A20D2                                            ; +0x3c, 0x1404a20cc\nmov     eax, ebx                                                       ; +0x3e, 0x1404a20ce\njmp     short loc_1404A20EC                                            ; +0x40, 0x1404a20d0\nmov     rcx, [r14]                                                     ; +0x42, 0x1404a20d2\nadd     rcx, 660h                                                      ; +0x45, 0x1404a20d5\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0x4c, 0x1404a20dc\njbe     short loc_1404A20E6                                            ; +0x51, 0x1404a20e1\nmov     rcx, [rcx]; String                                             ; +0x53, 0x1404a20e3\ncall    cs:atoi                                                        ; +0x56, 0x1404a20e6\nmov     [rdi+5C8h], eax                                                ; +0x5c, 0x1404a20ec\nmov     rax, [rsi]                                                     ; +0x62, 0x1404a20f2\ncmp     [rax+1C0h], rbx                                                ; +0x65, 0x1404a20f5\njnz     short loc_1404A2102                                            ; +0x6c, 0x1404a20fc\nmov     eax, ebx                                                       ; +0x6e, 0x1404a20fe\njmp     short loc_1404A211C                                            ; +0x70, 0x1404a2100\nmov     rcx, [r14]                                                     ; +0x72, 0x1404a2102\nadd     rcx, 700h                                                      ; +0x75, 0x1404a2105\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0x7c, 0x1404a210c\njbe     short loc_1404A2116                                            ; +0x81, 0x1404a2111\nmov     rcx, [rcx]; String                                             ; +0x83, 0x1404a2113\ncall    cs:atoi                                                        ; +0x86, 0x1404a2116\ntest    eax, eax                                                       ; +0x8c, 0x1404a211c\nsetnz   al                                                             ; +0x8e, 0x1404a211e\nmov     [rdi+675h], al                                                 ; +0x91, 0x1404a2121\nmov     rax, [rsi]                                                     ; +0x97, 0x1404a2127\ncmp     [rax+0DE8h], rbx                                               ; +0x9a, 0x1404a212a\njnz     short loc_1404A2137                                            ; +0xa1, 0x1404a2131\nmov     eax, ebx                                                       ; +0xa3, 0x1404a2133\njmp     short loc_1404A2151                                            ; +0xa5, 0x1404a2135\nmov     rcx, [r14]                                                     ; +0xa7, 0x1404a2137\nadd     rcx, 37A0h                                                     ; +0xaa, 0x1404a213a\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0xb1, 0x1404a2141\njbe     short loc_1404A214B                                            ; +0xb6, 0x1404a2146\nmov     rcx, [rcx]; String                                             ; +0xb8, 0x1404a2148\ncall    cs:atoi                                                        ; +0xbb, 0x1404a214b\ntest    eax, eax                                                       ; +0xc1, 0x1404a2151\nsetnz   al                                                             ; +0xc3, 0x1404a2153\nmov     [rdi+740h], al                                                 ; +0xc6, 0x1404a2156\nmov     rax, [rsi]                                                     ; +0xcc, 0x1404a215c\ncmp     [rax+0FC0h], rbx                                               ; +0xcf, 0x1404a215f\njz      short loc_1404A2184                                            ; +0xd6, 0x1404a2166\nmov     rcx, [r14]                                                     ; +0xd8, 0x1404a2168\nadd     rcx, 3F00h                                                     ; +0xdb, 0x1404a216b\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0xe2, 0x1404a2172\njbe     short loc_1404A217C                                            ; +0xe7, 0x1404a2177\nmov     rcx, [rcx]; String                                             ; +0xe9, 0x1404a2179\ncall    cs:atoi                                                        ; +0xec, 0x1404a217c\nmov     ebx, eax                                                       ; +0xf2, 0x1404a2182\ntest    ebx, ebx                                                       ; +0xf4, 0x1404a2184\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xf6, 0x1404a2186\nsetnz   al                                                             ; +0xfb, 0x1404a218b\nmov     [rdi+741h], al                                                 ; +0xfe, 0x1404a218e\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x104, 0x1404a2194\nmov     rdi, [rsp+28h+arg_10]                                          ; +0x109, 0x1404a2199\nadd     rsp, 20h                                                       ; +0x10e, 0x1404a219e\npop     r14                                                            ; +0x112, 0x1404a21a2\nretn                                                                   ; +0x114, 0x1404a21a4", "xrefs": ["<???> @ 0x14061cad0", "<???> @ 0x1406a7c5c", "<???> @ 0x1406a7c6c", "<???> @ 0x1406dc758"], "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"}