{"type": "func", "start": 5500612, "end": 5500724, "name": "BrowseSmartTemplateLayer::createDots", "pseudocode": "// \n// BrowseSmartTemplateLayer::createDots from 0x53eec4 to 0x53ef34 (112 bytes)\n// \n// 1 xrefs:\n// > BrowseSmartTemplateLayer::updateDots @ 0x53ef5e\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 BrowseSmartTemplateLayer::createDots(BrowseSmartTemplateLayer *a1)\n{\n  unsigned int v2; // r5\n  cocos2d::CCSpriteBatchNode *v3; // r6\n  cocos2d::CCArray *v4; // r0\n  cocos2d::CCArray *v5; // r0\n  const char *v6; // r1\n  cocos2d::CCObject *v7; // r7\n\n  v2 = 0;\n  v3 = cocos2d::CCSpriteBatchNode::create(\"smallDot.png\", (unsigned int)&dword_1C + 1);\n  v4 = (cocos2d::CCArray *)((int (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCSpriteBatchNode *, int))a1->m_mainLayer->addChild_0)(\n                             a1->m_mainLayer,\n                             v3,\n                             5);\n  v5 = (cocos2d::CCArray *)cocos2d::CCArray::create(v4);\n  a1->m_dotsArray = v5;\n  cocos2d::CCObject::retain(v5);\n  while ( v2 < cocos2d::CCArray::count(a1->m_pages) )\n  {\n    ++v2;\n    v7 = (cocos2d::CCObject *)cocos2d::CCSprite::create((cocos2d::CCSprite *)\"smallDot.png\", v6);\n    v7->__vftable[2].copyWithZone(v7, (cocos2d::CCZone *)1061997773);\n    v3->addChild(v3, (cocos2d::CCNode *)v7);\n    cocos2d::CCArray::addObject(a1->m_dotsArray, v7);\n  }\n}", "assembly": "; \n; BrowseSmartTemplateLayer::createDots from 0x53eec4 to 0x53ef34 (112 bytes)\n; \n; 1 xrefs:\n; > BrowseSmartTemplateLayer::updateDots @ 0x53ef5e\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.W          {R4-R8,LR}                                             ; +0x0, 0x53eec4\nMOV             R4, R0                                                 ; +0x4, 0x53eec8\nLDR             R0, =(aSmalldotPng - 0x53EED8); \"smallDot.png\"         ; +0x6, 0x53eeca\nMOVS            R1, #(dword_1C+1); char *                              ; +0x8, 0x53eecc\nLDR.W           R8, =(aSmalldotPng - 0x53EEE0); \"smallDot.png\"         ; +0xa, 0x53eece\nMOVS            R5, #0                                                 ; +0xe, 0x53eed2\nADD             R0, PC; \"smallDot.png\"                                 ; +0x10, 0x53eed4\nBL              _ZN7cocos2d17CCSpriteBatchNode6createEPKcj; cocos2d::CCSpriteBatchNode::create(char const*,uint) ; +0x12, 0x53eed6\nMOVS            R2, #5                                                 ; +0x16, 0x53eeda\nADD             R8, PC; \"smallDot.png\"                                 ; +0x18, 0x53eedc\nMOV             R6, R0                                                 ; +0x1a, 0x53eede\nLDR.W           R0, [R4,#0x1C8]                                        ; +0x1c, 0x53eee0\nMOV             R1, R6                                                 ; +0x20, 0x53eee4\nLDR             R3, [R0]                                               ; +0x22, 0x53eee6\nLDR.W           R3, [R3,#0xE0]                                         ; +0x24, 0x53eee8\nBLX             R3                                                     ; +0x28, 0x53eeec\nBL              _ZN7cocos2d7CCArray6createEv; cocos2d::CCArray::create(void) ; +0x2a, 0x53eeee\nSTR.W           R0, [R4,#0x204]                                        ; +0x2e, 0x53eef2\nBL              _ZN7cocos2d8CCObject6retainEv; cocos2d::CCObject::retain(void) ; +0x32, 0x53eef6\nLDR.W           R0, [R4,#0x1F4]; this                                  ; +0x36, 0x53eefa\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x3a, 0x53eefe\nCMP             R5, R0                                                 ; +0x3e, 0x53ef02\nBCS             locret_53EF30                                          ; +0x40, 0x53ef04\nMOV             R0, R8; this                                           ; +0x42, 0x53ef06\nADDS            R5, #1                                                 ; +0x44, 0x53ef08\nBL              _ZN7cocos2d8CCSprite6createEPKc; cocos2d::CCSprite::create(char const*) ; +0x46, 0x53ef0a\nLDR             R1, =0x3F4CCCCD                                        ; +0x4a, 0x53ef0e\nLDR             R3, [R0]                                               ; +0x4c, 0x53ef10\nMOV             R7, R0                                                 ; +0x4e, 0x53ef12\nLDR             R3, [R3,#0x50]                                         ; +0x50, 0x53ef14\nBLX             R3                                                     ; +0x52, 0x53ef16\nLDR             R3, [R6]                                               ; +0x54, 0x53ef18\nMOV             R0, R6                                                 ; +0x56, 0x53ef1a\nMOV             R1, R7                                                 ; +0x58, 0x53ef1c\nLDR.W           R3, [R3,#0xDC]                                         ; +0x5a, 0x53ef1e\nBLX             R3                                                     ; +0x5e, 0x53ef22\nLDR.W           R0, [R4,#0x204]; this                                  ; +0x60, 0x53ef24\nMOV             R1, R7; cocos2d::CCObject *                            ; +0x64, 0x53ef28\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x66, 0x53ef2a\nB               loc_53EEFA                                             ; +0x6a, 0x53ef2e\nPOP.W           {R4-R8,PC}                                             ; +0x6c, 0x53ef30", "xrefs": ["BrowseSmartTemplateLayer::updateDots @ 0x53ef5e"], "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"}