{"type": "func", "start": 5371632336, "end": 5371632524, "name": "MoveStepPopup::onReset", "pseudocode": "// \n// MoveStepPopup::onReset from 0x1402c9ad0 to 0x1402c9b8c (188 bytes)\n// \n// 4 xrefs:\n// > MoveStepPopup::onBuildWindowContent @ 0x1402c9870\n// > <???> @ 0x1408b16ec\n// > <???> @ 0x1408b16fc\n// > <???> @ 0x14091dc90\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:29:23 +0000\n// \n\nvoid __fastcall MoveStepPopup::onReset(__int64 a1)\n{\n  __int64 v2; // rcx\n  cocos2d::CCDictionary *v3; // rbx\n  struct cocos2d::CCObject *v4; // rax\n  cocos2d::CCDictionary *v5; // rcx\n  struct cocos2d::CCObject *v6; // rax\n  char v7; // bl\n  __int128 v8; // [rsp+20h] [rbp-28h] BYREF\n  __int64 v9; // [rsp+30h] [rbp-18h]\n  __int64 v10; // [rsp+38h] [rbp-10h]\n\n  v2 = *(_QWORD *)(a1 + 1000);\n  if ( v2 )\n  {\n    EditorUI::setCustomMoveStep(v2, 10.0);\n    v3 = *(cocos2d::CCDictionary **)(a1 + 832);\n    v4 = cocos2d::CCFloat::create(10.0);\n    cocos2d::CCDictionary::setObject(v3, v4, -1);\n    v5 = *(cocos2d::CCDictionary **)(a1 + 760);\n    if ( v5 )\n    {\n      v6 = cocos2d::CCDictionary::objectForKey(v5, -1);\n      if ( v6 )\n      {\n        v7 = *(_BYTE *)(a1 + 744);\n        *(_BYTE *)(a1 + 744) = 1;\n        v8 = 0;\n        LOBYTE(v8) = 0;\n        v9 = 0;\n        v10 = 15;\n        CCTextInputNode::setString(v6, &v8);\n        *(_BYTE *)(a1 + 744) = v7;\n      }\n    }\n  }\n}", "assembly": "; \n; MoveStepPopup::onReset from 0x1402c9ad0 to 0x1402c9b8c (188 bytes)\n; \n; 4 xrefs:\n; > MoveStepPopup::onBuildWindowContent @ 0x1402c9870\n; > <???> @ 0x1408b16ec\n; > <???> @ 0x1408b16fc\n; > <???> @ 0x14091dc90\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:29:23 +0000\n; \npush    rdi                                                            ; +0x0, 0x1402c9ad0\nsub     rsp, 40h                                                       ; +0x2, 0x1402c9ad2\nmov     rdi, rcx                                                       ; +0x6, 0x1402c9ad6\nmov     rcx, [rcx+3E8h]                                                ; +0x9, 0x1402c9ad9\ntest    rcx, rcx                                                       ; +0x10, 0x1402c9ae0\njz      loc_1402C9B86                                                  ; +0x13, 0x1402c9ae3\nmovss   xmm1, cs:flt_1408354EC                                         ; +0x19, 0x1402c9ae9\nmov     [rsp+48h+arg_8], rbx                                           ; +0x21, 0x1402c9af1\ncall    EditorUI__setCustomMoveStep                                    ; +0x26, 0x1402c9af6\nmovss   xmm0, cs:flt_1408354EC                                         ; +0x2b, 0x1402c9afb\nmov     rbx, [rdi+340h]                                                ; +0x33, 0x1402c9b03\ncall    cs:?create@CCFloat@cocos2d@@SAPEAV12@M@Z; cocos2d::CCFloat::create(float) ; +0x3a, 0x1402c9b0a\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x40, 0x1402c9b10\nmov     rcx, rbx                                                       ; +0x47, 0x1402c9b17\nmov     rdx, rax                                                       ; +0x4a, 0x1402c9b1a\ncall    cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,__int64) ; +0x4d, 0x1402c9b1d\nmov     rcx, [rdi+2F8h]                                                ; +0x53, 0x1402c9b23\ntest    rcx, rcx                                                       ; +0x5a, 0x1402c9b2a\njz      short loc_1402C9B81                                            ; +0x5d, 0x1402c9b2d\nmov     rdx, 0FFFFFFFFFFFFFFFFh                                        ; +0x5f, 0x1402c9b2f\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x66, 0x1402c9b36\ntest    rax, rax                                                       ; +0x6c, 0x1402c9b3c\njz      short loc_1402C9B81                                            ; +0x6f, 0x1402c9b3f\nmovzx   ebx, byte ptr [rdi+2E8h]                                       ; +0x71, 0x1402c9b41\nlea     rdx, [rsp+48h+var_28]                                          ; +0x78, 0x1402c9b48\nxorps   xmm0, xmm0                                                     ; +0x7d, 0x1402c9b4d\nmov     byte ptr [rdi+2E8h], 1                                         ; +0x80, 0x1402c9b50\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x87, 0x1402c9b57\nmov     rcx, rax                                                       ; +0x8c, 0x1402c9b5c\nmov     byte ptr [rsp+48h+var_28], 0                                   ; +0x8f, 0x1402c9b5f\nmov     [rsp+48h+var_18], 0                                            ; +0x94, 0x1402c9b64\nmov     [rsp+48h+var_10], 0Fh                                          ; +0x9d, 0x1402c9b6d\ncall    CCTextInputNode__setString                                     ; +0xa6, 0x1402c9b76\nmov     [rdi+2E8h], bl                                                 ; +0xab, 0x1402c9b7b\nmov     rbx, [rsp+48h+arg_8]                                           ; +0xb1, 0x1402c9b81\nadd     rsp, 40h                                                       ; +0xb6, 0x1402c9b86\npop     rdi                                                            ; +0xba, 0x1402c9b8a\nretn                                                                   ; +0xbb, 0x1402c9b8b", "xrefs": ["MoveStepPopup::onBuildWindowContent @ 0x1402c9870", "<???> @ 0x1408b16ec", "<???> @ 0x1408b16fc", "<???> @ 0x14091dc90"], "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"}