{"type": "func", "start": 4295411760, "end": 4295411946, "name": "CCTextInputNode::holdTimerFired", "pseudocode": "// \n// CCTextInputNode::holdTimerFired from 0x10006c830 to 0x10006c8ea (186 bytes)\n// \n// 7 xrefs:\n// > CCTextInputNode::dCCTextInputNode @ 0x10006571d\n// > CCTextInputNode::disarmHold @ 0x10006580b\n// > CCTextInputNode::ccTouchEnded @ 0x10006c4f6\n// > CCTextInputNode::ccTouchCancelled @ 0x10006c5d1\n// > sub_10006C610 @ 0x10006c638\n// > CCTextInputNode::ccTouchMoved @ 0x10006c6dd\n// > CCTextInputNode::onExit @ 0x10006c7e0\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 12:19:45 +0000\n// \n\n__int64 __fastcall CCTextInputNode::holdTimerFired(__int64 a1)\n{\n  __int64 result; // rax\n  __int64 v3; // rdi\n  float v4; // [rsp+8h] [rbp-28h] BYREF\n  _BYTE v5[32]; // [rsp+10h] [rbp-20h] BYREF\n\n  *(_WORD *)(a1 + 696) = 256;\n  if ( *(_BYTE *)(a1 + 460) == 1 )\n  {\n    sub_1002782D0(v5, a1 + 688);\n    return CCTextInputNode::openEditMenu(a1, v5);\n  }\n  else\n  {\n    v3 = *(_QWORD *)(a1 + 584);\n    if ( !v3 || (result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 40LL))(v3, a1), (_BYTE)result) )\n    {\n      sub_1002782D0(&v4, a1 + 688);\n      sub_1002787F0(v5, &unk_100BE1030);\n      CCTextInputNode::updateCursorPosition(a1, &v4);\n      (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1160LL))(a1, 1);\n      return cocos2d::CCNode::scheduleOnce(a1, sub_10006C760, 0, 0.34999999);\n    }\n  }\n  return result;\n}", "assembly": "; \n; CCTextInputNode::holdTimerFired from 0x10006c830 to 0x10006c8ea (186 bytes)\n; \n; 7 xrefs:\n; > CCTextInputNode::dCCTextInputNode @ 0x10006571d\n; > CCTextInputNode::disarmHold @ 0x10006580b\n; > CCTextInputNode::ccTouchEnded @ 0x10006c4f6\n; > CCTextInputNode::ccTouchCancelled @ 0x10006c5d1\n; > sub_10006C610 @ 0x10006c638\n; > CCTextInputNode::ccTouchMoved @ 0x10006c6dd\n; > CCTextInputNode::onExit @ 0x10006c7e0\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 12:19:45 +0000\n; \npush    rbp                                                            ; +0x0, 0x10006c830\nmov     rbp, rsp                                                       ; +0x1, 0x10006c831\npush    r14                                                            ; +0x4, 0x10006c834\npush    rbx                                                            ; +0x6, 0x10006c836\nsub     rsp, 20h                                                       ; +0x7, 0x10006c837\nmov     rbx, rdi                                                       ; +0xb, 0x10006c83b\nmov     word ptr [rdi+2B8h], 100h                                      ; +0xe, 0x10006c83e\ncmp     byte ptr [rdi+1CCh], 1                                         ; +0x17, 0x10006c847\njnz     short loc_10006C870                                            ; +0x1e, 0x10006c84e\nlea     rsi, [rbx+2B0h]                                                ; +0x20, 0x10006c850\nlea     r14, [rbp+var_20]                                              ; +0x27, 0x10006c857\nmov     rdi, r14                                                       ; +0x2b, 0x10006c85b\ncall    sub_1002782D0                                                  ; +0x2e, 0x10006c85e\nmov     rdi, rbx                                                       ; +0x33, 0x10006c863\nmov     rsi, r14                                                       ; +0x36, 0x10006c866\ncall    CCTextInputNode__openEditMenu                                  ; +0x39, 0x10006c869\njmp     short loc_10006C8E1                                            ; +0x3e, 0x10006c86e\nmov     rdi, [rbx+248h]                                                ; +0x40, 0x10006c870\ntest    rdi, rdi                                                       ; +0x47, 0x10006c877\njz      short loc_10006C889                                            ; +0x4a, 0x10006c87a\nmov     rax, [rdi]                                                     ; +0x4c, 0x10006c87c\nmov     rsi, rbx                                                       ; +0x4f, 0x10006c87f\ncall    qword ptr [rax+28h]                                            ; +0x52, 0x10006c882\ntest    al, al                                                         ; +0x55, 0x10006c885\njz      short loc_10006C8E1                                            ; +0x57, 0x10006c887\nlea     rsi, [rbx+2B0h]                                                ; +0x59, 0x10006c889\nlea     r14, [rbp+var_28]                                              ; +0x60, 0x10006c890\nmov     rdi, r14                                                       ; +0x64, 0x10006c894\ncall    sub_1002782D0                                                  ; +0x67, 0x10006c897\nlea     rsi, unk_100BE1030                                             ; +0x6c, 0x10006c89c\nlea     rdi, [rbp+var_20]                                              ; +0x73, 0x10006c8a3\ncall    sub_1002787F0                                                  ; +0x77, 0x10006c8a7\nmov     rdi, rbx                                                       ; +0x7c, 0x10006c8ac\nmov     rsi, r14                                                       ; +0x7f, 0x10006c8af\ncall    CCTextInputNode__updateCursorPosition                          ; +0x82, 0x10006c8b2\nmov     rax, [rbx]                                                     ; +0x87, 0x10006c8b7\nmov     rdi, rbx                                                       ; +0x8a, 0x10006c8ba\nmov     esi, 1                                                         ; +0x8d, 0x10006c8bd\ncall    qword ptr [rax+488h]                                           ; +0x92, 0x10006c8c2\nlea     rsi, sub_10006C760                                             ; +0x98, 0x10006c8c8\nmovss   xmm0, cs:dword_100A03FDC                                       ; +0x9f, 0x10006c8cf\nmov     rdi, rbx                                                       ; +0xa7, 0x10006c8d7\nxor     edx, edx                                                       ; +0xaa, 0x10006c8da\ncall    cocos2d__CCNode__scheduleOnce                                  ; +0xac, 0x10006c8dc\nadd     rsp, 20h                                                       ; +0xb1, 0x10006c8e1\npop     rbx                                                            ; +0xb5, 0x10006c8e5\npop     r14                                                            ; +0xb6, 0x10006c8e6\npop     rbp                                                            ; +0xb8, 0x10006c8e8\nretn                                                                   ; +0xb9, 0x10006c8e9", "xrefs": ["CCTextInputNode::dCCTextInputNode @ 0x10006571d", "CCTextInputNode::disarmHold @ 0x10006580b", "CCTextInputNode::ccTouchEnded @ 0x10006c4f6", "CCTextInputNode::ccTouchCancelled @ 0x10006c5d1", "sub_10006C610 @ 0x10006c638", "CCTextInputNode::ccTouchMoved @ 0x10006c6dd", "CCTextInputNode::onExit @ 0x10006c7e0"], "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"}