{"type": "func", "start": 5372655520, "end": 5372655719, "name": "IDNameBrowserPopup::onSelectRow", "pseudocode": "// \n// IDNameBrowserPopup::onSelectRow from 0x1403c37a0 to 0x1403c3867 (199 bytes)\n// \n// 2 xrefs:\n// > IDNameBrowserPopup::mountVirtualRow @ 0x1403c346b\n// > <???> @ 0x1409240ec\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:29 +0000\n// \n\n// Hidden C++ exception states: #wind=3\nvoid __fastcall IDNameBrowserPopup::onSelectRow(__int64 a1, cocos2d::CCObject *a2)\n{\n  int v4; // esi\n  __int64 v5; // rax\n  __int64 v6; // rcx\n  __int64 v7; // rcx\n  void *v8; // [rsp+38h] [rbp+10h]\n\n  if ( a2 )\n  {\n    v4 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 56LL))(a2);\n    if ( v4 > 0 )\n    {\n      cocos2d::CCObject::retain(a2);\n      cocos2d::CCObject::autorelease(a2);\n      v5 = qword_14090BFD0;\n      if ( !qword_14090BFD0 )\n      {\n        v8 = operator new(0x6E8u);\n        qword_14090BFD0 = GameManager::GameManager((__int64)v8);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n        v5 = qword_14090BFD0;\n      }\n      v6 = *(_QWORD *)(v5 + 568);\n      if ( v6 )\n      {\n        v7 = *(_QWORD *)(v6 + 3528);\n        if ( v7 )\n          LevelSettingsObject::touchIDUsage(v7, (unsigned int)v4, *(unsigned int *)(a1 + 676));\n      }\n      *(_DWORD *)(a1 + 752) = v4;\n      IDNameBrowserPopup::onClose(a1, 0);\n    }\n  }\n}", "assembly": "; \n; IDNameBrowserPopup::onSelectRow from 0x1403c37a0 to 0x1403c3867 (199 bytes)\n; \n; 2 xrefs:\n; > IDNameBrowserPopup::mountVirtualRow @ 0x1403c346b\n; > <???> @ 0x1409240ec\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:29 +0000\n; \ntest    rdx, rdx                                                       ; +0x0, 0x1403c37a0\njz      locret_1403C3866                                               ; +0x3, 0x1403c37a3\nmov     [rsp+arg_0], rbx                                               ; +0x9, 0x1403c37a9\nmov     [rsp+arg_10], rsi                                              ; +0xe, 0x1403c37ae\npush    rdi                                                            ; +0x13, 0x1403c37b3\nsub     rsp, 20h                                                       ; +0x14, 0x1403c37b4\nmov     rbx, rdx                                                       ; +0x18, 0x1403c37b8\nmov     rdi, rcx                                                       ; +0x1b, 0x1403c37bb\nmov     rax, [rdx]                                                     ; +0x1e, 0x1403c37be\nmov     rcx, rdx                                                       ; +0x21, 0x1403c37c1\ncall    qword ptr [rax+38h]                                            ; +0x24, 0x1403c37c4\nmov     esi, eax                                                       ; +0x27, 0x1403c37c7\ntest    eax, eax                                                       ; +0x29, 0x1403c37c9\njle     loc_1403C3857                                                  ; +0x2b, 0x1403c37cb\nmov     rcx, rbx                                                       ; +0x31, 0x1403c37d1\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x34, 0x1403c37d4\nmov     rcx, rbx                                                       ; +0x3a, 0x1403c37da\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x3d, 0x1403c37dd\nmov     rax, cs:qword_14090BFD0                                        ; +0x43, 0x1403c37e3\ntest    rax, rax                                                       ; +0x4a, 0x1403c37ea\njnz     short loc_1403C3821                                            ; +0x4d, 0x1403c37ed\nmov     ecx, 6E8h; Size                                                ; +0x4f, 0x1403c37ef\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x54, 0x1403c37f4\nmov     [rsp+28h+arg_8], rax                                           ; +0x59, 0x1403c37f9\nmov     rcx, rax                                                       ; +0x5e, 0x1403c37fe\ncall    GameManager__GameManager                                       ; +0x61, 0x1403c3801\nnop                                                                    ; +0x66, 0x1403c3806\nmov     cs:qword_14090BFD0, rax                                        ; +0x67, 0x1403c3807\nmov     rcx, [rax]                                                     ; +0x6e, 0x1403c380e\nmov     rdx, [rcx+48h]                                                 ; +0x71, 0x1403c3811\nmov     rcx, rax                                                       ; +0x75, 0x1403c3815\ncall    rdx                                                            ; +0x78, 0x1403c3818\nmov     rax, cs:qword_14090BFD0                                        ; +0x7a, 0x1403c381a\nmov     rcx, [rax+238h]                                                ; +0x81, 0x1403c3821\ntest    rcx, rcx                                                       ; +0x88, 0x1403c3828\njz      short loc_1403C3847                                            ; +0x8b, 0x1403c382b\nmov     rcx, [rcx+0DC8h]                                               ; +0x8d, 0x1403c382d\ntest    rcx, rcx                                                       ; +0x94, 0x1403c3834\njz      short loc_1403C3847                                            ; +0x97, 0x1403c3837\nmov     r8d, [rdi+2A4h]                                                ; +0x99, 0x1403c3839\nmov     edx, esi                                                       ; +0xa0, 0x1403c3840\ncall    LevelSettingsObject__touchIDUsage                              ; +0xa2, 0x1403c3842\nmov     [rdi+2F0h], esi                                                ; +0xa7, 0x1403c3847\nxor     edx, edx                                                       ; +0xad, 0x1403c384d\nmov     rcx, rdi                                                       ; +0xaf, 0x1403c384f\ncall    IDNameBrowserPopup__onClose                                    ; +0xb2, 0x1403c3852\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xb7, 0x1403c3857\nmov     rsi, [rsp+28h+arg_10]                                          ; +0xbc, 0x1403c385c\nadd     rsp, 20h                                                       ; +0xc1, 0x1403c3861\npop     rdi                                                            ; +0xc5, 0x1403c3865\nretn                                                                   ; +0xc6, 0x1403c3866", "xrefs": ["IDNameBrowserPopup::mountVirtualRow @ 0x1403c346b", "<???> @ 0x1409240ec"], "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"}