{"type": "func", "start": 5372686432, "end": 5372686646, "name": "IDNameInput::onAutocompleteRow", "pseudocode": "// \n// IDNameInput::onAutocompleteRow from 0x1403cb060 to 0x1403cb136 (214 bytes)\n// \n// 2 xrefs:\n// > IDNameInput::updateAutocomplete @ 0x1403c9dc1\n// > <???> @ 0x140924428\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:32 +0000\n// \n\n// Hidden C++ exception states: #wind=3\nvoid __fastcall IDNameInput::onAutocompleteRow(__int64 a1, cocos2d::CCObject *a2)\n{\n  signed int v4; // edi\n  __int64 v5; // rcx\n  __int64 v6; // rax\n  __int64 v7; // rcx\n  __int64 v8; // rcx\n  void *v9; // [rsp+38h] [rbp+10h]\n\n  if ( a2 )\n  {\n    cocos2d::CCObject::retain(a2);\n    cocos2d::CCObject::autorelease(a2);\n    v4 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 56LL))(a2);\n    v5 = *(_QWORD *)(a1 + 440);\n    if ( v5 )\n    {\n      *(_QWORD *)(a1 + 440) = 0;\n      (**(void (__fastcall ***)(__int64))(v5 + 336))(v5 + 336);\n    }\n    if ( v4 > 0 )\n    {\n      v6 = qword_14090BFD0;\n      if ( !qword_14090BFD0 )\n      {\n        v9 = operator new(0x6E8u);\n        qword_14090BFD0 = GameManager::GameManager((__int64)v9);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n        v6 = qword_14090BFD0;\n      }\n      v7 = *(_QWORD *)(v6 + 568);\n      if ( v7 )\n      {\n        v8 = *(_QWORD *)(v7 + 3528);\n        if ( v8 )\n          LevelSettingsObject::touchIDUsage(v8, (unsigned int)v4, *(unsigned int *)(a1 + 376));\n      }\n      IDNameInput::commitID(a1, v4);\n    }\n  }\n}", "assembly": "; \n; IDNameInput::onAutocompleteRow from 0x1403cb060 to 0x1403cb136 (214 bytes)\n; \n; 2 xrefs:\n; > IDNameInput::updateAutocomplete @ 0x1403c9dc1\n; > <???> @ 0x140924428\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:32 +0000\n; \ntest    rdx, rdx                                                       ; +0x0, 0x1403cb060\njz      locret_1403CB135                                               ; +0x3, 0x1403cb063\nmov     [rsp+arg_0], rbx                                               ; +0x9, 0x1403cb069\npush    rdi                                                            ; +0xe, 0x1403cb06e\nsub     rsp, 20h                                                       ; +0xf, 0x1403cb06f\nmov     rdi, rdx                                                       ; +0x13, 0x1403cb073\nmov     rbx, rcx                                                       ; +0x16, 0x1403cb076\nmov     rcx, rdx                                                       ; +0x19, 0x1403cb079\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x1c, 0x1403cb07c\nmov     rcx, rdi                                                       ; +0x22, 0x1403cb082\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x25, 0x1403cb085\nmov     rax, [rdi]                                                     ; +0x2b, 0x1403cb08b\nmov     rcx, rdi                                                       ; +0x2e, 0x1403cb08e\ncall    qword ptr [rax+38h]                                            ; +0x31, 0x1403cb091\nmov     edi, eax                                                       ; +0x34, 0x1403cb094\nmov     rcx, [rbx+1B8h]                                                ; +0x36, 0x1403cb096\ntest    rcx, rcx                                                       ; +0x3d, 0x1403cb09d\njz      short loc_1403CB0B9                                            ; +0x40, 0x1403cb0a0\nmov     qword ptr [rbx+1B8h], 0                                        ; +0x42, 0x1403cb0a2\nadd     rcx, 150h                                                      ; +0x4d, 0x1403cb0ad\nmov     rdx, [rcx]                                                     ; +0x54, 0x1403cb0b4\ncall    qword ptr [rdx]                                                ; +0x57, 0x1403cb0b7\ntest    edi, edi                                                       ; +0x59, 0x1403cb0b9\njle     short loc_1403CB12B                                            ; +0x5b, 0x1403cb0bb\nmov     rax, cs:qword_14090BFD0                                        ; +0x5d, 0x1403cb0bd\ntest    rax, rax                                                       ; +0x64, 0x1403cb0c4\njnz     short loc_1403CB0FB                                            ; +0x67, 0x1403cb0c7\nmov     ecx, 6E8h; Size                                                ; +0x69, 0x1403cb0c9\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x6e, 0x1403cb0ce\nmov     [rsp+28h+arg_8], rax                                           ; +0x73, 0x1403cb0d3\nmov     rcx, rax                                                       ; +0x78, 0x1403cb0d8\ncall    GameManager__GameManager                                       ; +0x7b, 0x1403cb0db\nnop                                                                    ; +0x80, 0x1403cb0e0\nmov     cs:qword_14090BFD0, rax                                        ; +0x81, 0x1403cb0e1\nmov     rcx, [rax]                                                     ; +0x88, 0x1403cb0e8\nmov     rdx, [rcx+48h]                                                 ; +0x8b, 0x1403cb0eb\nmov     rcx, rax                                                       ; +0x8f, 0x1403cb0ef\ncall    rdx                                                            ; +0x92, 0x1403cb0f2\nmov     rax, cs:qword_14090BFD0                                        ; +0x94, 0x1403cb0f4\nmov     rcx, [rax+238h]                                                ; +0x9b, 0x1403cb0fb\ntest    rcx, rcx                                                       ; +0xa2, 0x1403cb102\njz      short loc_1403CB121                                            ; +0xa5, 0x1403cb105\nmov     rcx, [rcx+0DC8h]                                               ; +0xa7, 0x1403cb107\ntest    rcx, rcx                                                       ; +0xae, 0x1403cb10e\njz      short loc_1403CB121                                            ; +0xb1, 0x1403cb111\nmov     r8d, [rbx+178h]                                                ; +0xb3, 0x1403cb113\nmov     edx, edi                                                       ; +0xba, 0x1403cb11a\ncall    LevelSettingsObject__touchIDUsage                              ; +0xbc, 0x1403cb11c\nmov     edx, edi                                                       ; +0xc1, 0x1403cb121\nmov     rcx, rbx                                                       ; +0xc3, 0x1403cb123\ncall    IDNameInput__commitID                                          ; +0xc6, 0x1403cb126\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xcb, 0x1403cb12b\nadd     rsp, 20h                                                       ; +0xd0, 0x1403cb130\npop     rdi                                                            ; +0xd4, 0x1403cb134\nretn                                                                   ; +0xd5, 0x1403cb135", "xrefs": ["IDNameInput::updateAutocomplete @ 0x1403c9dc1", "<???> @ 0x140924428"], "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"}