{"type": "func", "start": 3958034, "end": 3958132, "name": "CCMenuExtra::repeatTick", "pseudocode": "// \n// CCMenuExtra::repeatTick from 0x3c6512 to 0x3c6574 (98 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:46:34 +0000\n// \n\nint __fastcall CCMenuExtra::repeatTick(cocos2d::CCMenuItem **this, float a2)\n{\n  cocos2d::CCMenuItem **v3; // r5\n  int v4; // r6\n\n  v3 = this;\n  v4 = 1;\n  while ( v3 && v4 )\n  {\n    v4 = (*((int (__fastcall **)(cocos2d::CCMenuItem **, _DWORD))*v3 + 44))(v3, LODWORD(a2));\n    v3 = (cocos2d::CCMenuItem **)(*((int (__fastcall **)(cocos2d::CCMenuItem **))*v3 + 64))(v3);\n  }\n  if ( *(this + 83) == (cocos2d::CCMenuItem *)((char *)&dword_0 + 1)\n    && *(this + 84)\n    && (*((int (__fastcall **)(cocos2d::CCMenuItem **, _DWORD))*this + 158))(this, LODWORD(a2))\n    && (*((int (__fastcall **)(cocos2d::CCMenuItem **))*this + 124))(this)\n    && v4 )\n  {\n    return CCMenuExtra::fireSelectedItem(this);\n  }\n  else\n  {\n    return CCMenuExtra::stopRepeat((CCMenuExtra *)this);\n  }\n}", "assembly": "; \n; CCMenuExtra::repeatTick from 0x3c6512 to 0x3c6574 (98 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:46:34 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x3c6512\nMOV             R4, R0                                                 ; +0x2, 0x3c6514\nMOV             R5, R0                                                 ; +0x4, 0x3c6516\nMOVS            R6, #1                                                 ; +0x6, 0x3c6518\nCBZ             R5, loc_3C6538                                         ; +0x8, 0x3c651a\nCBZ             R6, loc_3C6538                                         ; +0xa, 0x3c651c\nLDR             R3, [R5]                                               ; +0xc, 0x3c651e\nMOV             R0, R5                                                 ; +0xe, 0x3c6520\nLDR.W           R3, [R3,#0xB0]                                         ; +0x10, 0x3c6522\nBLX             R3                                                     ; +0x14, 0x3c6526\nLDR             R3, [R5]                                               ; +0x16, 0x3c6528\nLDR.W           R3, [R3,#0x100]                                        ; +0x18, 0x3c652a\nMOV             R6, R0                                                 ; +0x1c, 0x3c652e\nMOV             R0, R5                                                 ; +0x1e, 0x3c6530\nBLX             R3                                                     ; +0x20, 0x3c6532\nMOV             R5, R0                                                 ; +0x22, 0x3c6534\nB               loc_3C651A                                             ; +0x24, 0x3c6536\nLDR.W           R3, [R4,#0x14C]                                        ; +0x26, 0x3c6538\nCMP             R3, #1                                                 ; +0x2a, 0x3c653c\nBNE             loc_3C656A                                             ; +0x2c, 0x3c653e\nLDR.W           R3, [R4,#0x150]                                        ; +0x2e, 0x3c6540\nCBZ             R3, loc_3C656A                                         ; +0x32, 0x3c6544\nLDR             R3, [R4]                                               ; +0x34, 0x3c6546\nMOV             R0, R4                                                 ; +0x36, 0x3c6548\nLDR.W           R3, [R3,#0x278]                                        ; +0x38, 0x3c654a\nBLX             R3                                                     ; +0x3c, 0x3c654e\nCBZ             R0, loc_3C656A                                         ; +0x3e, 0x3c6550\nLDR             R3, [R4]                                               ; +0x40, 0x3c6552\nMOV             R0, R4                                                 ; +0x42, 0x3c6554\nLDR.W           R3, [R3,#0x1F0]                                        ; +0x44, 0x3c6556\nBLX             R3                                                     ; +0x48, 0x3c655a\nCBZ             R0, loc_3C656A                                         ; +0x4a, 0x3c655c\nCBZ             R6, loc_3C656A                                         ; +0x4c, 0x3c655e\nMOV             R0, R4; this                                           ; +0x4e, 0x3c6560\nPOP.W           {R4-R6,LR}                                             ; +0x50, 0x3c6562\nB.W             _ZN11CCMenuExtra16fireSelectedItemEv; CCMenuExtra::fireSelectedItem(void) ; +0x54, 0x3c6566\nMOV             R0, R4; this                                           ; +0x58, 0x3c656a\nPOP.W           {R4-R6,LR}                                             ; +0x5a, 0x3c656c\nB.W             _ZN11CCMenuExtra10stopRepeatEv; CCMenuExtra::stopRepeat(void) ; +0x5e, 0x3c6570", "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"}