{"type": "func", "start": 4296195760, "end": 4296195868, "name": "BoomScrollLayer::togglePageIndicators", "pseudocode": "// \n// BoomScrollLayer::togglePageIndicators from 0x10012beb0 to 0x10012bf1c (108 bytes)\n// \n// 3 xrefs:\n// > GJGarageLayer::setupPage @ 0x100304d24\n// > GJGarageLayer::setupSpecialPage @ 0x10030521c\n// > GJGarageLayer::setupSpecialPage @ 0x10030532c\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\n// local variable allocation has failed, the output may be wrong!\nvoid __fastcall BoomScrollLayer::togglePageIndicators(BoomScrollLayer *a1, bool a2)\n{\n  cocos2d::CCArray *m_dots; // x0\n  _BOOL8 v4; // x19\n  __int64 v5; // x21\n  __int64 v6; // x0\n\n  m_dots = a1->m_dots;\n  if ( m_dots )\n  {\n    v4 = a2;\n    if ( (unsigned int)sub_10024A36C(m_dots) )\n    {\n      v5 = 0;\n      do\n      {\n        v6 = sub_10024A388(a1->m_dots, v5);\n        (*(void (__fastcall **)(__int64, _BOOL8))(*(_QWORD *)v6 + 328LL))(v6, v4);\n        v5 = (unsigned int)(v5 + 1);\n      }\n      while ( (unsigned int)v5 < (unsigned int)sub_10024A36C(a1->m_dots) );\n    }\n  }\n}", "assembly": "; \n; BoomScrollLayer::togglePageIndicators from 0x10012beb0 to 0x10012bf1c (108 bytes)\n; \n; 3 xrefs:\n; > GJGarageLayer::setupPage @ 0x100304d24\n; > GJGarageLayer::setupSpecialPage @ 0x10030521c\n; > GJGarageLayer::setupSpecialPage @ 0x10030532c\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             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x10012beb0\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10012beb4\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10012beb8\nADD             X29, SP, #0x20                                         ; +0xc, 0x10012bebc\nMOV             X20, X0                                                ; +0x10, 0x10012bec0\nLDR             X0, [X0,#0x198]                                        ; +0x14, 0x10012bec4\nCBZ             X0, loc_10012BF0C                                      ; +0x18, 0x10012bec8\nMOV             X19, X1                                                ; +0x1c, 0x10012becc\nBL              sub_10024A36C                                          ; +0x20, 0x10012bed0\nCBZ             W0, loc_10012BF0C                                      ; +0x24, 0x10012bed4\nMOV             W21, #0                                                ; +0x28, 0x10012bed8\nLDR             X0, [X20,#0x198]                                       ; +0x2c, 0x10012bedc\nMOV             X1, X21                                                ; +0x30, 0x10012bee0\nBL              sub_10024A388                                          ; +0x34, 0x10012bee4\nLDR             X8, [X0]                                               ; +0x38, 0x10012bee8\nLDR             X8, [X8,#0x148]                                        ; +0x3c, 0x10012beec\nMOV             X1, X19                                                ; +0x40, 0x10012bef0\nBLR             X8                                                     ; +0x44, 0x10012bef4\nADD             W21, W21, #1                                           ; +0x48, 0x10012bef8\nLDR             X0, [X20,#0x198]                                       ; +0x4c, 0x10012befc\nBL              sub_10024A36C                                          ; +0x50, 0x10012bf00\nCMP             W21, W0                                                ; +0x54, 0x10012bf04\nB.CC            loc_10012BEDC                                          ; +0x58, 0x10012bf08\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x5c, 0x10012bf0c\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x60, 0x10012bf10\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x64, 0x10012bf14\nRET                                                                    ; +0x68, 0x10012bf18", "xrefs": ["GJGarageLayer::setupPage @ 0x100304d24", "GJGarageLayer::setupSpecialPage @ 0x10030521c", "GJGarageLayer::setupSpecialPage @ 0x10030532c"], "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"}