{"type": "func", "start": 5371632000, "end": 5371632322, "name": "MoveStepPopup::textChanged", "pseudocode": "// \n// MoveStepPopup::textChanged from 0x1402c9980 to 0x1402c9ac2 (322 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140766a98\n// > <???> @ 0x14091dc84\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::textChanged(__int64 a1, _QWORD *a2)\n{\n  _BYTE *v4; // rax\n  size_t v5; // r8\n  void *v6; // rcx\n  __int64 v7; // rbx\n  struct cocos2d::CCObject *v8; // rax\n  unsigned int v9; // eax\n  void *Block[2]; // [rsp+38h] [rbp-40h] BYREF\n  __int128 v11; // [rsp+48h] [rbp-30h]\n\n  if ( !*(_BYTE *)(a1 + 200) )\n  {\n    v4 = (_BYTE *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(a2[74] + 600LL) + 8LL))(a2[74] + 600LL);\n    *(_OWORD *)Block = 0;\n    v5 = -1;\n    v11 = 0;\n    do\n      ++v5;\n    while ( v4[v5] );\n    sub_14003D230(Block, v4, v5);\n    if ( *((_QWORD *)&v11 + 1) > 0xFu )\n    {\n      v6 = Block[0];\n      if ( (unsigned __int64)(*((_QWORD *)&v11 + 1) + 1LL) >= 0x1000 )\n      {\n        v6 = *((void **)Block[0] - 1);\n        if ( (unsigned __int64)((char *)Block[0] - (char *)v6 - 8) > 0x1F )\n          invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n      }\n      j_j_free(v6);\n    }\n    if ( (_QWORD)v11 )\n    {\n      SetupTriggerPopup::textChanged(a1, a2);\n    }\n    else\n    {\n      v7 = (*(int (__fastcall **)(_QWORD *))(*a2 + 56LL))(a2);\n      v8 = cocos2d::CCFloat::create(10.0);\n      cocos2d::CCDictionary::setObject(*(cocos2d::CCDictionary **)(a1 + 288), v8, v7);\n      v9 = (*(__int64 (__fastcall **)(_QWORD *))(*a2 + 56LL))(a2);\n      SetupTriggerPopup::valueChanged(a1 - 544, v9);\n    }\n  }\n}", "assembly": "; \n; MoveStepPopup::textChanged from 0x1402c9980 to 0x1402c9ac2 (322 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140766a98\n; > <???> @ 0x14091dc84\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; \nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x1402c9980\npush    rbp                                                            ; +0x5, 0x1402c9985\npush    rsi                                                            ; +0x6, 0x1402c9986\npush    rdi                                                            ; +0x7, 0x1402c9987\nsub     rsp, 60h                                                       ; +0x8, 0x1402c9988\nmov     rax, cs:__security_cookie                                      ; +0xc, 0x1402c998c\nxor     rax, rsp                                                       ; +0x13, 0x1402c9993\nmov     [rsp+78h+var_20], rax                                          ; +0x16, 0x1402c9996\nxor     ebx, ebx                                                       ; +0x1b, 0x1402c999b\nmov     rdi, rdx                                                       ; +0x1d, 0x1402c999d\nmov     rsi, rcx                                                       ; +0x20, 0x1402c99a0\ncmp     [rcx+0C8h], bl                                                 ; +0x23, 0x1402c99a3\njnz     loc_1402C9AA5                                                  ; +0x29, 0x1402c99a9\nmov     rcx, [rdx+250h]                                                ; +0x2f, 0x1402c99af\nadd     rcx, 258h                                                      ; +0x36, 0x1402c99b6\nmov     rax, [rcx]                                                     ; +0x3d, 0x1402c99bd\ncall    qword ptr [rax+8]                                              ; +0x40, 0x1402c99c0\nxorps   xmm0, xmm0                                                     ; +0x43, 0x1402c99c3\nxorps   xmm1, xmm1                                                     ; +0x46, 0x1402c99c6\nmovups  xmmword ptr [rsp+78h+Block], xmm0                              ; +0x49, 0x1402c99c9\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x4e, 0x1402c99ce\nmovdqu  [rsp+78h+var_30], xmm1                                         ; +0x55, 0x1402c99d5\nnop     dword ptr [rax+rax+00h]                                        ; +0x5b, 0x1402c99db\ninc     r8                                                             ; +0x60, 0x1402c99e0\ncmp     [rax+r8], bl                                                   ; +0x63, 0x1402c99e3\njnz     short loc_1402C99E0                                            ; +0x67, 0x1402c99e7\nmov     rdx, rax                                                       ; +0x69, 0x1402c99e9\nlea     rcx, [rsp+78h+Block]                                           ; +0x6c, 0x1402c99ec\ncall    sub_14003D230                                                  ; +0x71, 0x1402c99f1\nmov     rdx, qword ptr [rsp+78h+var_30+8]                              ; +0x76, 0x1402c99f6\ncmp     rdx, 0Fh                                                       ; +0x7b, 0x1402c99fb\njbe     short loc_1402C9A45                                            ; +0x7f, 0x1402c99ff\nmov     rcx, [rsp+78h+Block]; Block                                    ; +0x81, 0x1402c9a01\ninc     rdx                                                            ; +0x86, 0x1402c9a06\nmov     rax, rcx                                                       ; +0x89, 0x1402c9a09\ncmp     rdx, 1000h                                                     ; +0x8c, 0x1402c9a0c\njb      short loc_1402C9A40                                            ; +0x93, 0x1402c9a13\nmov     rcx, [rcx-8]                                                   ; +0x95, 0x1402c9a15\nadd     rdx, 27h ; '''                                                 ; +0x99, 0x1402c9a19\nsub     rax, rcx                                                       ; +0x9d, 0x1402c9a1d\nsub     rax, 8                                                         ; +0xa0, 0x1402c9a20\ncmp     rax, 1Fh                                                       ; +0xa4, 0x1402c9a24\njbe     short loc_1402C9A40                                            ; +0xa8, 0x1402c9a28\nxor     r9d, r9d; LineNo                                               ; +0xaa, 0x1402c9a2a\nmov     [rsp+78h+Reserved], rbx; Reserved                              ; +0xad, 0x1402c9a2d\nxor     r8d, r8d; FileName                                             ; +0xb2, 0x1402c9a32\nxor     edx, edx; FunctionName                                         ; +0xb5, 0x1402c9a35\nxor     ecx, ecx; Expression                                           ; +0xb7, 0x1402c9a37\ncall    cs:_invoke_watson                                              ; +0xb9, 0x1402c9a39\nalign 20h                                                              ; +0xbf, 0x1402c9a3f\ncall    j_j_free                                                       ; +0xc0, 0x1402c9a40\ncmp     qword ptr [rsp+78h+var_30], rbx                                ; +0xc5, 0x1402c9a45\njnz     short loc_1402C9A9A                                            ; +0xca, 0x1402c9a4a\nmov     rax, [rdi]                                                     ; +0xcc, 0x1402c9a4c\nmov     rcx, rdi                                                       ; +0xcf, 0x1402c9a4f\ncall    qword ptr [rax+38h]                                            ; +0xd2, 0x1402c9a52\nmovss   xmm0, cs:flt_1408354EC                                         ; +0xd5, 0x1402c9a55\nmovsxd  rbx, eax                                                       ; +0xdd, 0x1402c9a5d\ncall    cs:?create@CCFloat@cocos2d@@SAPEAV12@M@Z; cocos2d::CCFloat::create(float) ; +0xe0, 0x1402c9a60\nmov     rcx, [rsi+120h]                                                ; +0xe6, 0x1402c9a66\nmov     r8, rbx                                                        ; +0xed, 0x1402c9a6d\nmov     rdx, rax                                                       ; +0xf0, 0x1402c9a70\ncall    cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,__int64) ; +0xf3, 0x1402c9a73\nmov     rax, [rdi]                                                     ; +0xf9, 0x1402c9a79\nmov     rcx, rdi                                                       ; +0xfc, 0x1402c9a7c\ncall    qword ptr [rax+38h]                                            ; +0xff, 0x1402c9a7f\nmovss   xmm2, cs:flt_1408354EC                                         ; +0x102, 0x1402c9a82\nlea     rcx, [rsi-220h]                                                ; +0x10a, 0x1402c9a8a\nmov     edx, eax                                                       ; +0x111, 0x1402c9a91\ncall    SetupTriggerPopup__valueChanged                                ; +0x113, 0x1402c9a93\njmp     short loc_1402C9AA5                                            ; +0x118, 0x1402c9a98\nmov     rdx, rdi                                                       ; +0x11a, 0x1402c9a9a\nmov     rcx, rsi                                                       ; +0x11d, 0x1402c9a9d\ncall    SetupTriggerPopup__textChanged                                 ; +0x120, 0x1402c9aa0\nmov     rcx, [rsp+78h+var_20]                                          ; +0x125, 0x1402c9aa5\nxor     rcx, rsp; StackCookie                                          ; +0x12a, 0x1402c9aaa\ncall    __security_check_cookie                                        ; +0x12d, 0x1402c9aad\nmov     rbx, [rsp+78h+arg_10]                                          ; +0x132, 0x1402c9ab2\nadd     rsp, 60h                                                       ; +0x13a, 0x1402c9aba\npop     rdi                                                            ; +0x13e, 0x1402c9abe\npop     rsi                                                            ; +0x13f, 0x1402c9abf\npop     rbp                                                            ; +0x140, 0x1402c9ac0\nretn                                                                   ; +0x141, 0x1402c9ac1", "xrefs": ["<???> @ 0x140766a98", "<???> @ 0x14091dc84"], "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"}