{"type": "func", "start": 3957868, "end": 3957958, "name": "CCMenuExtra::repeatSelectionChanged", "pseudocode": "// \n// CCMenuExtra::repeatSelectionChanged from 0x3c646c to 0x3c64c6 (90 bytes)\n// \n// 4 xrefs:\n// > CCMenuExtra::ccTouchBegan @ 0x3c64da\n// > CCMenuExtra::ccTouchMoved @ 0x3c6504\n// > DpadMenu::ccTouchMoved @ 0x6f568e\n// > DpadMenu::ccTouchBegan @ 0x6f575a\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:46:34 +0000\n// \n\nint __fastcall CCMenuExtra::repeatSelectionChanged(CCMenuExtra *this)\n{\n  int result; // r0\n  float v3; // s15\n\n  result = CCMenuExtra::stopRepeat(this);\n  v3 = *((float *)this + 86);\n  if ( v3 > 0.0 )\n  {\n    if ( *((_DWORD *)this + 84) )\n    {\n      *((_BYTE *)this + 348) = 1;\n      cocos2d::CCNode::schedule((int)this, (int)CCMenuExtra::repeatTick, 0, v3, -2, *((float *)this + 85));\n      return CCMenuExtra::fireSelectedItem((cocos2d::CCMenuItem **)this);\n    }\n  }\n  return result;\n}", "assembly": "; \n; CCMenuExtra::repeatSelectionChanged from 0x3c646c to 0x3c64c6 (90 bytes)\n; \n; 4 xrefs:\n; > CCMenuExtra::ccTouchBegan @ 0x3c64da\n; > CCMenuExtra::ccTouchMoved @ 0x3c6504\n; > DpadMenu::ccTouchMoved @ 0x6f568e\n; > DpadMenu::ccTouchBegan @ 0x6f575a\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:46:34 +0000\n; \nPUSH            {R0-R4,LR}                                             ; +0x0, 0x3c646c\nMOV             R4, R0                                                 ; +0x2, 0x3c646e\nBL              _ZN11CCMenuExtra10stopRepeatEv; CCMenuExtra::stopRepeat(void) ; +0x4, 0x3c6470\nVLDR            S15, [R4,#0x158]                                       ; +0x8, 0x3c6474\nVCMPE.F32       S15, #0.0                                              ; +0xc, 0x3c6478\nVMRS            APSR_nzcv, FPSCR                                       ; +0x10, 0x3c647c\nBLS             loc_3C64C2                                             ; +0x14, 0x3c6480\nLDR.W           R3, [R4,#0x150]                                        ; +0x16, 0x3c6482\nCBZ             R3, loc_3C64C2                                         ; +0x1a, 0x3c6486\nMOVS            R3, #1                                                 ; +0x1c, 0x3c6488\nSTRB.W          R3, [R4,#0x15C]                                        ; +0x1e, 0x3c648a\nLDR             R3, =(_ZN11CCMenuExtra10repeatTickEf_ptr - 0x3C6496)   ; +0x22, 0x3c648e\nMOV             R0, R4; int                                            ; +0x24, 0x3c6490\nADD             R3, PC; _ZN11CCMenuExtra10repeatTickEf_ptr             ; +0x26, 0x3c6492\nLDR             R3, [R3]; CCMenuExtra::repeatTick(float)               ; +0x28, 0x3c6494\nSTR             R3, [SP,#0x10+var_8]                                   ; +0x2a, 0x3c6496\nMOVS            R3, #0                                                 ; +0x2c, 0x3c6498\nSTR             R3, [SP,#0x10+var_4]                                   ; +0x2e, 0x3c649a\nMOV             R3, #0xFFFFFFFE                                        ; +0x30, 0x3c649c\nSTR             R3, [SP,#0x10+var_10]; int                             ; +0x34, 0x3c64a0\nLDR.W           R3, [R4,#0x154]                                        ; +0x36, 0x3c64a2\nSTR             R3, [SP,#0x10+var_C]; float                            ; +0x3a, 0x3c64a6\nADD             R3, SP, #0x10+var_s0                                   ; +0x3c, 0x3c64a8\nLDMDB.W         R3, {R1,R2}; int                                       ; +0x3e, 0x3c64aa\nVMOV            R3, S15; float                                         ; +0x42, 0x3c64ae\nBL              _ZN7cocos2d6CCNode8scheduleEMNS_8CCObjectEFvfEfjf; cocos2d::CCNode::schedule(void (cocos2d::CCObject::*)(float),float,uint,float) ; +0x46, 0x3c64b2\nMOV             R0, R4; this                                           ; +0x4a, 0x3c64b6\nADD             SP, SP, #0x10                                          ; +0x4c, 0x3c64b8\nPOP.W           {R4,LR}                                                ; +0x4e, 0x3c64ba\nB.W             _ZN11CCMenuExtra16fireSelectedItemEv; CCMenuExtra::fireSelectedItem(void) ; +0x52, 0x3c64be\nADD             SP, SP, #0x10                                          ; +0x56, 0x3c64c2\nPOP             {R4,PC}                                                ; +0x58, 0x3c64c4", "xrefs": ["CCMenuExtra::ccTouchBegan @ 0x3c64da", "CCMenuExtra::ccTouchMoved @ 0x3c6504", "DpadMenu::ccTouchMoved @ 0x6f568e", "DpadMenu::ccTouchBegan @ 0x6f575a"], "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"}