{"type": "func", "start": 5372676352, "end": 5372676474, "name": "IDNameInput::setType", "pseudocode": "// \n// IDNameInput::setType from 0x1403c8900 to 0x1403c897a (122 bytes)\n// \n// 12 xrefs:\n// > SetItemIDLayer::valueDidChange @ 0x140598aba\n// > SetupAdvFollowEditPhysicsPopup::valueDidChange @ 0x14059f764\n// > SetupAdvFollowRetargetPopup::valueDidChange @ 0x1405a00b9\n// > SetupAdvFollowRetargetPopup::valueDidChange @ 0x1405a00cd\n// > SetupPulsePopup::onSelectTargetMode @ 0x1405d0870\n// > SetupItemEditTriggerPopup::onCustomToggleTriggerValue @ 0x14060381b\n// > SetupItemCompareTriggerPopup::onCustomToggleTriggerValue @ 0x140605384\n// > SetupPersistentItemTriggerPopup::valueDidChange @ 0x140606922\n// > SetupStopTriggerPopup::valueDidChange @ 0x1406098b2\n// > <???> @ 0x1408c2734\n// > <???> @ 0x1408c2744\n// > <???> @ 0x140924380\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:31:31 +0000\n// \n\n__int64 __fastcall IDNameInput::setType(__int64 a1, int a2)\n{\n  __int64 v3; // rcx\n  char v4; // bl\n  __int64 result; // rax\n\n  if ( *(_DWORD *)(a1 + 376) != a2 )\n  {\n    *(_DWORD *)(a1 + 376) = a2;\n    v3 = *(_QWORD *)(a1 + 440);\n    if ( v3 )\n    {\n      *(_QWORD *)(a1 + 440) = 0;\n      (**(void (__fastcall ***)(__int64))(v3 + 336))(v3 + 336);\n    }\n    v4 = *(_DWORD *)(a1 + 376) != 0;\n    sub_1403C7350(*(_QWORD *)(a1 + 408), v4);\n    sub_1403C7350(*(_QWORD *)(a1 + 416), v4);\n    return IDNameInput::refreshLabel(a1);\n  }\n  return result;\n}", "assembly": "; \n; IDNameInput::setType from 0x1403c8900 to 0x1403c897a (122 bytes)\n; \n; 12 xrefs:\n; > SetItemIDLayer::valueDidChange @ 0x140598aba\n; > SetupAdvFollowEditPhysicsPopup::valueDidChange @ 0x14059f764\n; > SetupAdvFollowRetargetPopup::valueDidChange @ 0x1405a00b9\n; > SetupAdvFollowRetargetPopup::valueDidChange @ 0x1405a00cd\n; > SetupPulsePopup::onSelectTargetMode @ 0x1405d0870\n; > SetupItemEditTriggerPopup::onCustomToggleTriggerValue @ 0x14060381b\n; > SetupItemCompareTriggerPopup::onCustomToggleTriggerValue @ 0x140605384\n; > SetupPersistentItemTriggerPopup::valueDidChange @ 0x140606922\n; > SetupStopTriggerPopup::valueDidChange @ 0x1406098b2\n; > <???> @ 0x1408c2734\n; > <???> @ 0x1408c2744\n; > <???> @ 0x140924380\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:31:31 +0000\n; \npush    rdi                                                            ; +0x0, 0x1403c8900\nsub     rsp, 20h                                                       ; +0x2, 0x1403c8902\nmov     rdi, rcx                                                       ; +0x6, 0x1403c8906\ncmp     [rcx+178h], edx                                                ; +0x9, 0x1403c8909\njz      short loc_1403C8974                                            ; +0xf, 0x1403c890f\nmov     [rcx+178h], edx                                                ; +0x11, 0x1403c8911\nmov     rcx, [rcx+1B8h]                                                ; +0x17, 0x1403c8917\nmov     [rsp+28h+arg_0], rbx                                           ; +0x1e, 0x1403c891e\ntest    rcx, rcx                                                       ; +0x23, 0x1403c8923\njz      short loc_1403C893F                                            ; +0x26, 0x1403c8926\nadd     rcx, 150h                                                      ; +0x28, 0x1403c8928\nmov     qword ptr [rdi+1B8h], 0                                        ; +0x2f, 0x1403c892f\nmov     rax, [rcx]                                                     ; +0x3a, 0x1403c893a\ncall    qword ptr [rax]                                                ; +0x3d, 0x1403c893d\ncmp     dword ptr [rdi+178h], 0                                        ; +0x3f, 0x1403c893f\nmov     rcx, [rdi+198h]                                                ; +0x46, 0x1403c8946\nsetnz   bl                                                             ; +0x4d, 0x1403c894d\nmovzx   edx, bl                                                        ; +0x50, 0x1403c8950\ncall    sub_1403C7350                                                  ; +0x53, 0x1403c8953\nmov     rcx, [rdi+1A0h]                                                ; +0x58, 0x1403c8958\nmovzx   edx, bl                                                        ; +0x5f, 0x1403c895f\ncall    sub_1403C7350                                                  ; +0x62, 0x1403c8962\nmov     rcx, rdi                                                       ; +0x67, 0x1403c8967\ncall    IDNameInput__refreshLabel                                      ; +0x6a, 0x1403c896a\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x6f, 0x1403c896f\nadd     rsp, 20h                                                       ; +0x74, 0x1403c8974\npop     rdi                                                            ; +0x78, 0x1403c8978\nretn                                                                   ; +0x79, 0x1403c8979", "xrefs": ["SetItemIDLayer::valueDidChange @ 0x140598aba", "SetupAdvFollowEditPhysicsPopup::valueDidChange @ 0x14059f764", "SetupAdvFollowRetargetPopup::valueDidChange @ 0x1405a00b9", "SetupAdvFollowRetargetPopup::valueDidChange @ 0x1405a00cd", "SetupPulsePopup::onSelectTargetMode @ 0x1405d0870", "SetupItemEditTriggerPopup::onCustomToggleTriggerValue @ 0x14060381b", "SetupItemCompareTriggerPopup::onCustomToggleTriggerValue @ 0x140605384", "SetupPersistentItemTriggerPopup::valueDidChange @ 0x140606922", "SetupStopTriggerPopup::valueDidChange @ 0x1406098b2", "<???> @ 0x1408c2734", "<???> @ 0x1408c2744", "<???> @ 0x140924380"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}