{"type": "func", "start": 3937612, "end": 3937666, "name": "BoomScrollLayer::togglePageIndicators", "pseudocode": "// \n// BoomScrollLayer::togglePageIndicators from 0x3c154c to 0x3c1582 (54 bytes)\n// \n// 4 xrefs:\n// > EditButtonBar::loadFromItems @ 0x4de520\n// > GJGarageLayer::setupSpecialPage @ 0x50ee80\n// > GJGarageLayer::setupSpecialPage @ 0x50ef3e\n// > GJGarageLayer::setupPage @ 0x50f2ce\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:31 +0000\n// \n\nunsigned int __fastcall BoomScrollLayer::togglePageIndicators(unsigned int this, int a2)\n{\n  unsigned int v2; // r5\n  unsigned int i; // r4\n  int v5; // r0\n\n  v2 = this;\n  if ( *(_DWORD *)(this + 320) )\n  {\n    for ( i = 0; ; ++i )\n    {\n      this = cocos2d::CCArray::count(*(cocos2d::CCArray **)(v2 + 320));\n      if ( i >= this )\n        break;\n      v5 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(v2 + 320), i);\n      (*(void (__fastcall **)(int, int))(*(_DWORD *)v5 + 172))(v5, a2);\n    }\n  }\n  return this;\n}", "assembly": "; \n; BoomScrollLayer::togglePageIndicators from 0x3c154c to 0x3c1582 (54 bytes)\n; \n; 4 xrefs:\n; > EditButtonBar::loadFromItems @ 0x4de520\n; > GJGarageLayer::setupSpecialPage @ 0x50ee80\n; > GJGarageLayer::setupSpecialPage @ 0x50ef3e\n; > GJGarageLayer::setupPage @ 0x50f2ce\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:31 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x3c154c\nMOV             R5, R0                                                 ; +0x2, 0x3c154e\nLDR.W           R3, [R0,#0x140]                                        ; +0x4, 0x3c1550\nMOV             R6, R1                                                 ; +0x8, 0x3c1554\nCBNZ            R3, loc_3C155A                                         ; +0xa, 0x3c1556\nPOP             {R4-R6,PC}                                             ; +0xc, 0x3c1558\nMOVS            R4, #0                                                 ; +0xe, 0x3c155a\nLDR.W           R0, [R5,#0x140]; this                                  ; +0x10, 0x3c155c\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x14, 0x3c1560\nCMP             R4, R0                                                 ; +0x18, 0x3c1564\nBCS             locret_3C1580                                          ; +0x1a, 0x3c1566\nMOV             R1, R4; unsigned int                                   ; +0x1c, 0x3c1568\nLDR.W           R0, [R5,#0x140]; this                                  ; +0x1e, 0x3c156a\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x22, 0x3c156e\nMOV             R1, R6                                                 ; +0x26, 0x3c1572\nADDS            R4, #1                                                 ; +0x28, 0x3c1574\nLDR             R3, [R0]                                               ; +0x2a, 0x3c1576\nLDR.W           R3, [R3,#0xAC]                                         ; +0x2c, 0x3c1578\nBLX             R3                                                     ; +0x30, 0x3c157c\nB               loc_3C155C                                             ; +0x32, 0x3c157e\nPOP             {R4-R6,PC}                                             ; +0x34, 0x3c1580", "xrefs": ["EditButtonBar::loadFromItems @ 0x4de520", "GJGarageLayer::setupSpecialPage @ 0x50ee80", "GJGarageLayer::setupSpecialPage @ 0x50ef3e", "GJGarageLayer::setupPage @ 0x50f2ce"], "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"}