{"type": "func", "start": 5690644, "end": 5690748, "name": "BoomScrollLayer::togglePageIndicators", "pseudocode": "// \n// BoomScrollLayer::togglePageIndicators from 0x56d514 to 0x56d57c (104 bytes)\n// \n// 4 xrefs:\n// > GJGarageLayer::setupSpecialPage @ 0x796fe4\n// > GJGarageLayer::setupSpecialPage @ 0x7970e0\n// > GJGarageLayer::setupPage @ 0x797600\n// > <???> @ 0xa4118\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid BoomScrollLayer::togglePageIndicators(BoomScrollLayer *a1, bool a2)\n{\n  cocos2d::CCArray *m_dots; // x0\n  _BOOL4 v4; // w21\n  unsigned int v5; // w19\n  __int64 v6; // x0\n  bool v7; // cf\n  unsigned int v8; // w1\n\n  m_dots = a1->m_dots;\n  v4 = a2;\n  if ( m_dots )\n  {\n    v5 = 0;\n    while ( 1 )\n    {\n      v7 = v5 >= (unsigned int)cocos2d::CCArray::count(m_dots);\n      v8 = v5++;\n      if ( v7 )\n        break;\n      v6 = cocos2d::CCArray::objectAtIndex(a1->m_dots, v8);\n      (*(void (__fastcall **)(__int64, _BOOL4))(*(_QWORD *)v6 + 328LL))(v6, v4);\n      m_dots = a1->m_dots;\n    }\n  }\n}", "assembly": "; \n; BoomScrollLayer::togglePageIndicators from 0x56d514 to 0x56d57c (104 bytes)\n; \n; 4 xrefs:\n; > GJGarageLayer::setupSpecialPage @ 0x796fe4\n; > GJGarageLayer::setupSpecialPage @ 0x7970e0\n; > GJGarageLayer::setupPage @ 0x797600\n; > <???> @ 0xa4118\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x56d514\nMOV             X29, SP                                                ; +0x4, 0x56d518\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0x56d51c\nMOV             X20, X0                                                ; +0xc, 0x56d520\nLDR             X0, [X0,#0x198]                                        ; +0x10, 0x56d524\nSTR             X21, [SP,#0x30+var_10]                                 ; +0x14, 0x56d528\nUXTB            W21, W1                                                ; +0x18, 0x56d52c\nCBZ             X0, loc_56D56C                                         ; +0x1c, 0x56d530\nMOV             W19, #0                                                ; +0x20, 0x56d534\nB               loc_56D558                                             ; +0x24, 0x56d538\nLDR             X0, [X20,#0x198]; this                                 ; +0x28, 0x56d53c\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x2c, 0x56d540\nLDR             X2, [X0]                                               ; +0x30, 0x56d544\nMOV             W1, W21                                                ; +0x34, 0x56d548\nLDR             X2, [X2,#0x148]                                        ; +0x38, 0x56d54c\nBLR             X2                                                     ; +0x3c, 0x56d550\nLDR             X0, [X20,#0x198]; this                                 ; +0x40, 0x56d554\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x44, 0x56d558\nCMP             W19, W0                                                ; +0x48, 0x56d55c\nMOV             W1, W19; unsigned int                                  ; +0x4c, 0x56d560\nADD             W19, W19, #1                                           ; +0x50, 0x56d564\nB.CC            loc_56D53C                                             ; +0x54, 0x56d568\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x58, 0x56d56c\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x5c, 0x56d570\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x60, 0x56d574\nRET                                                                    ; +0x64, 0x56d578", "xrefs": ["GJGarageLayer::setupSpecialPage @ 0x796fe4", "GJGarageLayer::setupSpecialPage @ 0x7970e0", "GJGarageLayer::setupPage @ 0x797600", "<???> @ 0xa4118"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}