{"type": "func", "start": 5373701952, "end": 5373702086, "name": "ObjectControlGameObject::customObjectSetup", "pseudocode": "// \n// ObjectControlGameObject::customObjectSetup from 0x1404c2f40 to 0x1404c2fc6 (134 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14061d820\n// > <???> @ 0x1406dcfb0\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 ObjectControlGameObject::customObjectSetup(\n        ObjectControlGameObject *a1,\n        std::vector<std::string> *a2,\n        std::vector<void *> *a3)\n{\n  int v6; // edx\n  std::_Vector_val<std::_Simple_types<std::string>>::pointer m_bigStorage; // rcx\n  int v8; // eax\n\n  EffectGameObject::customObjectSetup(a1, a2, a3);\n  if ( !*((_QWORD *)a3->_Mypair._Myval2._Myfirst + 51) )\n  {\n    v6 = 0;\nLABEL_3:\n    a1->m_targetGroupID = v6;\n    return;\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  v8 = atoi(m_bigStorage->m_data.m_smallStorage._Elems);\n  if ( v8 < 0 )\n    v8 = 0;\n  v6 = v8;\n  if ( v8 <= 9999 )\n    goto LABEL_3;\n  a1->m_targetGroupID = 9999;\n}", "assembly": "; \n; ObjectControlGameObject::customObjectSetup from 0x1404c2f40 to 0x1404c2fc6 (134 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14061d820\n; > <???> @ 0x1406dcfb0\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, 0x1404c2f40\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1404c2f45\npush    rdi                                                            ; +0xa, 0x1404c2f4a\nsub     rsp, 20h                                                       ; +0xb, 0x1404c2f4b\nmov     rbx, r8                                                        ; +0xf, 0x1404c2f4f\nmov     rsi, rdx                                                       ; +0x12, 0x1404c2f52\nmov     rdi, rcx                                                       ; +0x15, 0x1404c2f55\ncall    EffectGameObject__customObjectSetup                            ; +0x18, 0x1404c2f58\nmov     rax, [rbx]                                                     ; +0x1d, 0x1404c2f5d\ncmp     qword ptr [rax+198h], 0                                        ; +0x20, 0x1404c2f60\njnz     short loc_1404C2F82                                            ; +0x28, 0x1404c2f68\nxor     edx, edx                                                       ; +0x2a, 0x1404c2f6a\nmov     [rdi+5C8h], edx                                                ; +0x2c, 0x1404c2f6c\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x32, 0x1404c2f72\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x37, 0x1404c2f77\nadd     rsp, 20h                                                       ; +0x3c, 0x1404c2f7c\npop     rdi                                                            ; +0x40, 0x1404c2f80\nretn                                                                   ; +0x41, 0x1404c2f81\nmov     rcx, [rsi]                                                     ; +0x42, 0x1404c2f82\nadd     rcx, 660h                                                      ; +0x45, 0x1404c2f85\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0x4c, 0x1404c2f8c\njbe     short loc_1404C2F96                                            ; +0x51, 0x1404c2f91\nmov     rcx, [rcx]; String                                             ; +0x53, 0x1404c2f93\ncall    cs:atoi                                                        ; +0x56, 0x1404c2f96\nxor     edx, edx                                                       ; +0x5c, 0x1404c2f9c\ntest    eax, eax                                                       ; +0x5e, 0x1404c2f9e\ncmovs   eax, edx                                                       ; +0x60, 0x1404c2fa0\nmov     edx, eax                                                       ; +0x63, 0x1404c2fa3\ncmp     eax, 270Fh                                                     ; +0x65, 0x1404c2fa5\njle     short loc_1404C2F6C                                            ; +0x6a, 0x1404c2faa\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x6c, 0x1404c2fac\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x71, 0x1404c2fb1\nmov     dword ptr [rdi+5C8h], 270Fh                                    ; +0x76, 0x1404c2fb6\nadd     rsp, 20h                                                       ; +0x80, 0x1404c2fc0\npop     rdi                                                            ; +0x84, 0x1404c2fc4\nretn                                                                   ; +0x85, 0x1404c2fc5", "xrefs": ["<???> @ 0x14061d820", "<???> @ 0x1406dcfb0"], "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"}