{"type": "func", "start": 4073324, "end": 4073486, "name": "CCTextInputNode::holdTimerFired", "pseudocode": "// \n// CCTextInputNode::holdTimerFired from 0x3e276c to 0x3e280e (162 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:47:02 +0000\n// \n\nint *__fastcall CCTextInputNode::holdTimerFired(CCTextInputNode *this, float a2)\n{\n  int v3; // r2\n  int v4; // r3\n  int *result; // r0\n  int v6; // r0\n  float v7[2]; // [sp+4h] [bp-20h] BYREF\n  _DWORD v8[4]; // [sp+Ch] [bp-18h] BYREF\n\n  *((_BYTE *)this + 500) = 0;\n  *((_BYTE *)this + 501) = 1;\n  if ( *((_BYTE *)this + 344) )\n  {\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, (CCTextInputNode *)((char *)this + 492));\n    return CCTextInputNode::openEditMenu(this, (const cocos2d::CCPoint *)v8, v3, v4);\n  }\n  else\n  {\n    v6 = *((_DWORD *)this + 105);\n    if ( !v6\n      || (result = (int *)(*(int (__fastcall **)(int, CCTextInputNode *))(*(_DWORD *)v6 + 20))(v6, this)) != nullptr )\n    {\n      cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v7, (CCTextInputNode *)((char *)this + 492));\n      cocos2d::CCRect::CCRect((cocos2d::CCRect *)v8, (const cocos2d::CCRect *)&unk_D2B360);\n      CCTextInputNode::updateCursorPosition((int)this, v7);\n      (*(void (__fastcall **)(CCTextInputNode *, int))(*(_DWORD *)this + 580))(this, 1);\n      v8[0] = CCTextInputNode::showHoldMenu;\n      v8[1] = 0;\n      return (int *)cocos2d::CCNode::scheduleOnce((int)this, (int)CCTextInputNode::showHoldMenu, 0, 0.35);\n    }\n  }\n  return result;\n}", "assembly": "; \n; CCTextInputNode::holdTimerFired from 0x3e276c to 0x3e280e (162 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:47:02 +0000\n; \nLDR             R3, =(__stack_chk_guard_ptr - 0x3E2774)                ; +0x0, 0x3e276c\nPUSH            {R4-R7,LR}                                             ; +0x2, 0x3e276e\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x4, 0x3e2770\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x6, 0x3e2772\nSUB             SP, SP, #0x24                                          ; +0x8, 0x3e2774\nMOV             R4, R0                                                 ; +0xa, 0x3e2776\nLDR             R2, [R3]                                               ; +0xc, 0x3e2778\nMOV             R6, R3                                                 ; +0xe, 0x3e277a\nSTR             R2, [SP,#0x24+var_8]                                   ; +0x10, 0x3e277c\nMOVS            R2, #0                                                 ; +0x12, 0x3e277e\nSTRB.W          R2, [R0,#0x1F4]                                        ; +0x14, 0x3e2780\nMOVS            R2, #1                                                 ; +0x18, 0x3e2784\nSTRB.W          R2, [R0,#0x1F5]                                        ; +0x1a, 0x3e2786\nLDRB.W          R2, [R0,#0x158]                                        ; +0x1e, 0x3e278a\nCBZ             R2, loc_3E27A6                                         ; +0x22, 0x3e278e\nADD             R5, SP, #0x24+var_18                                   ; +0x24, 0x3e2790\nADD.W           R1, R4, #0x1EC; cocos2d::CCPoint *                     ; +0x26, 0x3e2792\nMOV             R0, R5; this                                           ; +0x2a, 0x3e2796\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x2c, 0x3e2798\nMOV             R0, R4                                                 ; +0x30, 0x3e279c\nMOV             R1, R5                                                 ; +0x32, 0x3e279e\nBL              _ZN15CCTextInputNode12openEditMenuEN7cocos2d7CCPointE; CCTextInputNode::openEditMenu(cocos2d::CCPoint) ; +0x34, 0x3e27a0\nB               loc_3E27FE                                             ; +0x38, 0x3e27a4\nLDR.W           R0, [R0,#0x1A4]                                        ; +0x3a, 0x3e27a6\nCBZ             R0, loc_3E27B6                                         ; +0x3e, 0x3e27aa\nLDR             R3, [R0]                                               ; +0x40, 0x3e27ac\nMOV             R1, R4                                                 ; +0x42, 0x3e27ae\nLDR             R3, [R3,#0x14]                                         ; +0x44, 0x3e27b0\nBLX             R3                                                     ; +0x46, 0x3e27b2\nCBZ             R0, loc_3E27FE                                         ; +0x48, 0x3e27b4\nADD             R7, SP, #0x24+var_20                                   ; +0x4a, 0x3e27b6\nADD.W           R1, R4, #0x1EC; cocos2d::CCPoint *                     ; +0x4c, 0x3e27b8\nADD             R5, SP, #0x24+var_18                                   ; +0x50, 0x3e27bc\nMOV             R0, R7; this                                           ; +0x52, 0x3e27be\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x54, 0x3e27c0\nLDR             R1, =(unk_D2B358 - 0x3E27CC)                           ; +0x58, 0x3e27c4\nMOV             R0, R5; this                                           ; +0x5a, 0x3e27c6\nADD             R1, PC; unk_D2B358                                     ; +0x5c, 0x3e27c8\nADDS            R1, #(unk_D2B360 - 0xD2B358); cocos2d::CCRect *        ; +0x5e, 0x3e27ca\nBL              _ZN7cocos2d6CCRectC1ERKS0_; cocos2d::CCRect::CCRect(cocos2d::CCRect const&) ; +0x60, 0x3e27cc\nMOV             R2, R5                                                 ; +0x64, 0x3e27d0\nMOV             R0, R4                                                 ; +0x66, 0x3e27d2\nMOV             R1, R7                                                 ; +0x68, 0x3e27d4\nBL              _ZN15CCTextInputNode20updateCursorPositionEN7cocos2d7CCPointENS0_6CCRectE; CCTextInputNode::updateCursorPosition(cocos2d::CCPoint,cocos2d::CCRect) ; +0x6a, 0x3e27d6\nLDR             R3, [R4]                                               ; +0x6e, 0x3e27da\nMOV             R0, R4                                                 ; +0x70, 0x3e27dc\nMOVS            R1, #1                                                 ; +0x72, 0x3e27de\nLDR.W           R3, [R3,#0x244]                                        ; +0x74, 0x3e27e0\nBLX             R3                                                     ; +0x78, 0x3e27e4\nLDR             R3, =(_ZN15CCTextInputNode12showHoldMenuEf_ptr - 0x3E27EE) ; +0x7a, 0x3e27e6\nMOV             R0, R4; int                                            ; +0x7c, 0x3e27e8\nADD             R3, PC; _ZN15CCTextInputNode12showHoldMenuEf_ptr       ; +0x7e, 0x3e27ea\nLDR             R3, [R3]; CCTextInputNode::showHoldMenu(float)         ; +0x80, 0x3e27ec\nSTR             R3, [SP,#0x24+var_18]                                  ; +0x82, 0x3e27ee\nMOVS            R3, #0                                                 ; +0x84, 0x3e27f0\nSTR             R3, [SP,#0x24+var_14]                                  ; +0x86, 0x3e27f2\nLDR             R3, flt_3E2810; float                                  ; +0x88, 0x3e27f4\nLDM.W           R5, {R1,R2}; int                                       ; +0x8a, 0x3e27f6\nBL              _ZN7cocos2d6CCNode12scheduleOnceEMNS_8CCObjectEFvfEf; cocos2d::CCNode::scheduleOnce(void (cocos2d::CCObject::*)(float),float) ; +0x8e, 0x3e27fa\nLDR             R2, [SP,#0x24+var_8]                                   ; +0x92, 0x3e27fe\nLDR             R3, [R6]                                               ; +0x94, 0x3e2800\nCMP             R2, R3                                                 ; +0x96, 0x3e2802\nBEQ             loc_3E280A                                             ; +0x98, 0x3e2804\nBLX             __stack_chk_fail                                       ; +0x9a, 0x3e2806\nADD             SP, SP, #0x24 ; '$'                                    ; +0x9e, 0x3e280a\nPOP             {R4-R7,PC}                                             ; +0xa0, 0x3e280c", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "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"}