{"type": "func", "start": 5368961968, "end": 5368962076, "name": "BoomScrollLayer::togglePageIndicators", "pseudocode": "// \n// BoomScrollLayer::togglePageIndicators from 0x14003dbb0 to 0x14003dc1c (108 bytes)\n// \n// 6 xrefs:\n// > GJGarageLayer::setupPage @ 0x140276293\n// > GJGarageLayer::setupSpecialPage @ 0x140276be0\n// > GJGarageLayer::setupSpecialPage @ 0x140276cf0\n// > <???> @ 0x140661cc4\n// > <???> @ 0x140661cd4\n// > <???> @ 0x1406c3ff0\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; // rcx\n  unsigned int v4; // ebx\n  struct cocos2d::CCObject *v5; // rax\n\n  m_dots = a1->m_dots;\n  if ( m_dots )\n  {\n    v4 = 0;\n    if ( cocos2d::CCArray::count(m_dots) )\n    {\n      do\n      {\n        v5 = cocos2d::CCArray::objectAtIndex(a1->m_dots, v4);\n        ((void (__fastcall *)(struct cocos2d::CCObject *, _QWORD))v5->__vftable[4].update)(v5, 0);\n        ++v4;\n      }\n      while ( v4 < cocos2d::CCArray::count(a1->m_dots) );\n    }\n  }\n}", "assembly": "; \n; BoomScrollLayer::togglePageIndicators from 0x14003dbb0 to 0x14003dc1c (108 bytes)\n; \n; 6 xrefs:\n; > GJGarageLayer::setupPage @ 0x140276293\n; > GJGarageLayer::setupSpecialPage @ 0x140276be0\n; > GJGarageLayer::setupSpecialPage @ 0x140276cf0\n; > <???> @ 0x140661cc4\n; > <???> @ 0x140661cd4\n; > <???> @ 0x1406c3ff0\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\npush    rdi                                                            ; +0x0, 0x14003dbb0\nsub     rsp, 20h                                                       ; +0x2, 0x14003dbb2\nmov     rdi, rcx                                                       ; +0x6, 0x14003dbb6\nmov     rcx, [rcx+198h]                                                ; +0x9, 0x14003dbb9\ntest    rcx, rcx                                                       ; +0x10, 0x14003dbc0\njz      short loc_14003DC16                                            ; +0x13, 0x14003dbc3\nmov     [rsp+28h+arg_0], rbx                                           ; +0x15, 0x14003dbc5\nxor     ebx, ebx                                                       ; +0x1a, 0x14003dbca\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1c, 0x14003dbcc\ntest    eax, eax                                                       ; +0x22, 0x14003dbd2\njz      short loc_14003DC11                                            ; +0x24, 0x14003dbd4\nnop     word ptr [rax+rax+00000000h]                                   ; +0x26, 0x14003dbd6\nmov     rcx, [rdi+198h]                                                ; +0x30, 0x14003dbe0\nmov     edx, ebx                                                       ; +0x37, 0x14003dbe7\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x39, 0x14003dbe9\nxor     edx, edx                                                       ; +0x3f, 0x14003dbef\nmov     rcx, rax                                                       ; +0x41, 0x14003dbf1\nmov     r8, [rax]                                                      ; +0x44, 0x14003dbf4\ncall    qword ptr [r8+140h]                                            ; +0x47, 0x14003dbf7\nmov     rcx, [rdi+198h]                                                ; +0x4e, 0x14003dbfe\ninc     ebx                                                            ; +0x55, 0x14003dc05\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x57, 0x14003dc07\ncmp     ebx, eax                                                       ; +0x5d, 0x14003dc0d\njb      short loc_14003DBE0                                            ; +0x5f, 0x14003dc0f\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x61, 0x14003dc11\nadd     rsp, 20h                                                       ; +0x66, 0x14003dc16\npop     rdi                                                            ; +0x6a, 0x14003dc1a\nretn                                                                   ; +0x6b, 0x14003dc1b", "xrefs": ["GJGarageLayer::setupPage @ 0x140276293", "GJGarageLayer::setupSpecialPage @ 0x140276be0", "GJGarageLayer::setupSpecialPage @ 0x140276cf0", "<???> @ 0x140661cc4", "<???> @ 0x140661cd4", "<???> @ 0x1406c3ff0"], "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"}