{"type": "func", "start": 5369073744, "end": 5369073928, "name": "CCTextInputNode::holdTimerFired", "pseudocode": "// \n// CCTextInputNode::holdTimerFired from 0x140059050 to 0x140059108 (184 bytes)\n// \n// 6 xrefs:\n// > sub_14004E0E0 @ 0x14004e17c\n// > CCTextInputNode::ccTouchEnded @ 0x140058d71\n// > CCTextInputNode::ccTouchCancelled @ 0x140058e47\n// > CCTextInputNode::ccTouchMoved @ 0x140058f20\n// > CCTextInputNode::onExit @ 0x140058fcd\n// > <???> @ 0x140910514\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:25:41 +0000\n// \n\n__int64 __fastcall CCTextInputNode::holdTimerFired(__int64 a1)\n{\n  bool v1; // zf\n  __int64 v3; // rax\n  __int64 result; // rax\n  __int64 v5; // rcx\n  float *v6; // rax\n  __int64 v7; // rdx\n  _BYTE v8[24]; // [rsp+20h] [rbp-18h] BYREF\n  char v9; // [rsp+40h] [rbp+8h] BYREF\n\n  v1 = *(_BYTE *)(a1 + 468) == 0;\n  *(_WORD *)(a1 + 712) = 256;\n  if ( v1 )\n  {\n    v5 = *(_QWORD *)(a1 + 600);\n    if ( !v5 || (result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 40LL))(v5, a1), (_BYTE)result) )\n    {\n      cocos2d::CCRect::CCRect((cocos2d::CCRect *)v8, (const struct cocos2d::CCRect *)&unk_140909B68);\n      cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v9, (const struct cocos2d::CCPoint *)(a1 + 704));\n      CCTextInputNode::updateCursorPosition(a1, v6);\n      LOBYTE(v7) = 1;\n      (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1032LL))(a1, v7);\n      return cocos2d::CCNode::scheduleOnce(a1, CCTextInputNode::showHoldMenu);\n    }\n  }\n  else\n  {\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v9, (const struct cocos2d::CCPoint *)(a1 + 704));\n    return CCTextInputNode::openEditMenu(a1, v3);\n  }\n  return result;\n}", "assembly": "; \n; CCTextInputNode::holdTimerFired from 0x140059050 to 0x140059108 (184 bytes)\n; \n; 6 xrefs:\n; > sub_14004E0E0 @ 0x14004e17c\n; > CCTextInputNode::ccTouchEnded @ 0x140058d71\n; > CCTextInputNode::ccTouchCancelled @ 0x140058e47\n; > CCTextInputNode::ccTouchMoved @ 0x140058f20\n; > CCTextInputNode::onExit @ 0x140058fcd\n; > <???> @ 0x140910514\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:25:41 +0000\n; \npush    rbx                                                            ; +0x0, 0x140059050\nsub     rsp, 30h                                                       ; +0x2, 0x140059052\ncmp     byte ptr [rcx+1D4h], 0                                         ; +0x6, 0x140059056\nmov     rbx, rcx                                                       ; +0xd, 0x14005905d\nmov     word ptr [rcx+2C8h], 100h                                      ; +0x10, 0x140059060\njz      short loc_14005908E                                            ; +0x19, 0x140059069\nlea     rdx, [rcx+2C0h]                                                ; +0x1b, 0x14005906b\nlea     rcx, [rsp+38h+arg_0]                                           ; +0x22, 0x140059072\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x27, 0x140059077\nmov     rdx, rax                                                       ; +0x2d, 0x14005907d\nmov     rcx, rbx                                                       ; +0x30, 0x140059080\ncall    CCTextInputNode__openEditMenu                                  ; +0x33, 0x140059083\nadd     rsp, 30h                                                       ; +0x38, 0x140059088\npop     rbx                                                            ; +0x3c, 0x14005908c\nretn                                                                   ; +0x3d, 0x14005908d\nmov     rcx, [rcx+258h]                                                ; +0x3e, 0x14005908e\ntest    rcx, rcx                                                       ; +0x45, 0x140059095\njz      short loc_1400590A7                                            ; +0x48, 0x140059098\nmov     rax, [rcx]                                                     ; +0x4a, 0x14005909a\nmov     rdx, rbx                                                       ; +0x4d, 0x14005909d\ncall    qword ptr [rax+28h]                                            ; +0x50, 0x1400590a0\ntest    al, al                                                         ; +0x53, 0x1400590a3\njz      short loc_140059102                                            ; +0x55, 0x1400590a5\nlea     rdx, unk_140909B68                                             ; +0x57, 0x1400590a7\nlea     rcx, [rsp+38h+var_18]                                          ; +0x5e, 0x1400590ae\ncall    cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x63, 0x1400590b3\nlea     rdx, [rbx+2C0h]                                                ; +0x69, 0x1400590b9\nlea     rcx, [rsp+38h+arg_0]                                           ; +0x70, 0x1400590c0\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x75, 0x1400590c5\nmov     rdx, rax                                                       ; +0x7b, 0x1400590cb\nmov     rcx, rbx                                                       ; +0x7e, 0x1400590ce\ncall    CCTextInputNode__updateCursorPosition                          ; +0x81, 0x1400590d1\nmov     rax, [rbx]                                                     ; +0x86, 0x1400590d6\nmov     dl, 1                                                          ; +0x89, 0x1400590d9\nmov     rcx, rbx                                                       ; +0x8b, 0x1400590db\ncall    qword ptr [rax+408h]                                           ; +0x8e, 0x1400590de\nmovss   xmm2, cs:dword_140834EC0                                       ; +0x94, 0x1400590e4\nlea     rdx, CCTextInputNode__showHoldMenu                             ; +0x9c, 0x1400590ec\nmov     rcx, rbx                                                       ; +0xa3, 0x1400590f3\nadd     rsp, 30h                                                       ; +0xa6, 0x1400590f6\npop     rbx                                                            ; +0xaa, 0x1400590fa\njmp     cs:?scheduleOnce@CCNode@cocos2d@@QEAAXP8CCObject@2@EAAXM@ZM@Z; cocos2d::CCNode::scheduleOnce(void (cocos2d::CCObject::*)(float),float) ; +0xab, 0x1400590fb\nadd     rsp, 30h                                                       ; +0xb2, 0x140059102\npop     rbx                                                            ; +0xb6, 0x140059106\nretn                                                                   ; +0xb7, 0x140059107", "xrefs": ["sub_14004E0E0 @ 0x14004e17c", "CCTextInputNode::ccTouchEnded @ 0x140058d71", "CCTextInputNode::ccTouchCancelled @ 0x140058e47", "CCTextInputNode::ccTouchMoved @ 0x140058f20", "CCTextInputNode::onExit @ 0x140058fcd", "<???> @ 0x140910514"], "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"}