{"type": "func", "start": 6854300, "end": 6854404, "name": "BoomScrollLayer::togglePageIndicators", "pseudocode": "// \n// BoomScrollLayer::togglePageIndicators from 0x68969c to 0x689704 (104 bytes)\n// \n// 5 xrefs:\n// > EditButtonBar::loadFromItems @ 0x861c20\n// > GJGarageLayer::setupSpecialPage @ 0x8c0090\n// > GJGarageLayer::setupSpecialPage @ 0x8c018c\n// > GJGarageLayer::setupPage @ 0x8c0694\n// > <???> @ 0xd7a28\n// \n// This function is hookable on this platform (idp: arm, 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:50:32 +0000\n// \n\ncocos2d::CCArray *__fastcall BoomScrollLayer::togglePageIndicators(BoomScrollLayer *this, unsigned __int8 a2)\n{\n  unsigned int v3; // w21\n  cocos2d::CCArray *result; // x0\n  unsigned int v5; // w19\n  __int64 v6; // x0\n  bool v7; // cf\n  unsigned int v8; // w1\n\n  v3 = a2;\n  result = *((cocos2d::CCArray **)this + 52);\n  if ( result )\n  {\n    v5 = 0;\n    while ( 1 )\n    {\n      result = (cocos2d::CCArray *)cocos2d::CCArray::count(result);\n      v7 = v5 >= (unsigned int)result;\n      v8 = v5++;\n      if ( v7 )\n        break;\n      v6 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 52), v8);\n      (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v6 + 344LL))(v6, v3);\n      result = *((cocos2d::CCArray **)this + 52);\n    }\n  }\n  return result;\n}", "assembly": "; \n; BoomScrollLayer::togglePageIndicators from 0x68969c to 0x689704 (104 bytes)\n; \n; 5 xrefs:\n; > EditButtonBar::loadFromItems @ 0x861c20\n; > GJGarageLayer::setupSpecialPage @ 0x8c0090\n; > GJGarageLayer::setupSpecialPage @ 0x8c018c\n; > GJGarageLayer::setupPage @ 0x8c0694\n; > <???> @ 0xd7a28\n; \n; This function is hookable on this platform (idp: arm, 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:50:32 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x68969c\nMOV             X29, SP                                                ; +0x4, 0x6896a0\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0x6896a4\nSTR             X21, [SP,#0x30+var_10]                                 ; +0xc, 0x6896a8\nMOV             X20, X0                                                ; +0x10, 0x6896ac\nUXTB            W21, W1                                                ; +0x14, 0x6896b0\nLDR             X0, [X0,#0x1A0]                                        ; +0x18, 0x6896b4\nCBZ             X0, loc_6896F4                                         ; +0x1c, 0x6896b8\nMOV             W19, #0                                                ; +0x20, 0x6896bc\nB               loc_6896E0                                             ; +0x24, 0x6896c0\nLDR             X0, [X20,#0x1A0]; this                                 ; +0x28, 0x6896c4\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x2c, 0x6896c8\nLDR             X2, [X0]                                               ; +0x30, 0x6896cc\nMOV             W1, W21                                                ; +0x34, 0x6896d0\nLDR             X2, [X2,#0x158]                                        ; +0x38, 0x6896d4\nBLR             X2                                                     ; +0x3c, 0x6896d8\nLDR             X0, [X20,#0x1A0]; this                                 ; +0x40, 0x6896dc\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x44, 0x6896e0\nCMP             W19, W0                                                ; +0x48, 0x6896e4\nMOV             W1, W19; unsigned int                                  ; +0x4c, 0x6896e8\nADD             W19, W19, #1                                           ; +0x50, 0x6896ec\nB.CC            loc_6896C4                                             ; +0x54, 0x6896f0\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x58, 0x6896f4\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x5c, 0x6896f8\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x60, 0x6896fc\nRET                                                                    ; +0x64, 0x689700", "xrefs": ["EditButtonBar::loadFromItems @ 0x861c20", "GJGarageLayer::setupSpecialPage @ 0x8c0090", "GJGarageLayer::setupSpecialPage @ 0x8c018c", "GJGarageLayer::setupPage @ 0x8c0694", "<???> @ 0xd7a28"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}