{"type": "func", "start": 6761356, "end": 6761468, "name": "BrowseSmartTemplateLayer::createDots", "pseudocode": "// \n// BrowseSmartTemplateLayer::createDots from 0x672b8c to 0x672bfc (112 bytes)\n// \n// 1 xrefs:\n// > BrowseSmartTemplateLayer::updateDots @ 0x672c26\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:55:53 +0000\n// \n\nunsigned int __fastcall BrowseSmartTemplateLayer::createDots(BrowseSmartTemplateLayer *this, int a2, unsigned int a3)\n{\n  unsigned int v4; // r5\n  int v5; // r6\n  cocos2d::CCArray *v6; // r0\n  cocos2d::CCObject *v7; // r0\n  unsigned int result; // r0\n  const char *v9; // r1\n  cocos2d::CCObject *v10; // r7\n\n  v4 = 0;\n  v5 = cocos2d::CCSpriteBatchNode::create((cocos2d::CCSpriteBatchNode *)\"smallDot.png\", (const char *)&dword_1C + 1, a3);\n  v6 = (cocos2d::CCArray *)(*(int (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 115) + 232))(\n                             *((_DWORD *)this + 115),\n                             v5,\n                             5);\n  v7 = (cocos2d::CCObject *)cocos2d::CCArray::create(v6);\n  *((_DWORD *)this + 135) = v7;\n  cocos2d::CCObject::retain(v7);\n  while ( 1 )\n  {\n    result = cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 131));\n    if ( v4 >= result )\n      break;\n    ++v4;\n    v10 = (cocos2d::CCObject *)cocos2d::CCSprite::create((cocos2d::CCSprite *)\"smallDot.png\", v9);\n    (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v10 + 80))(v10, 1061997773);\n    (*(void (__fastcall **)(int, cocos2d::CCObject *))(*(_DWORD *)v5 + 228))(v5, v10);\n    cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 135), v10);\n  }\n  return result;\n}", "assembly": "; \n; BrowseSmartTemplateLayer::createDots from 0x672b8c to 0x672bfc (112 bytes)\n; \n; 1 xrefs:\n; > BrowseSmartTemplateLayer::updateDots @ 0x672c26\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:55:53 +0000\n; \nPUSH.W          {R4-R8,LR}                                             ; +0x0, 0x672b8c\nMOV             R4, R0                                                 ; +0x4, 0x672b90\nLDR             R0, =(aSmalldotPng - 0x672BA0); \"smallDot.png\"         ; +0x6, 0x672b92\nMOVS            R1, #(dword_1C+1); char *                              ; +0x8, 0x672b94\nLDR.W           R8, =(aSmalldotPng - 0x672BA8); \"smallDot.png\"         ; +0xa, 0x672b96\nMOVS            R5, #0                                                 ; +0xe, 0x672b9a\nADD             R0, PC; \"smallDot.png\"                                 ; +0x10, 0x672b9c\nBL              _ZN7cocos2d17CCSpriteBatchNode6createEPKcj; cocos2d::CCSpriteBatchNode::create(char const*,uint) ; +0x12, 0x672b9e\nMOVS            R2, #5                                                 ; +0x16, 0x672ba2\nADD             R8, PC; \"smallDot.png\"                                 ; +0x18, 0x672ba4\nMOV             R6, R0                                                 ; +0x1a, 0x672ba6\nLDR.W           R0, [R4,#0x1CC]                                        ; +0x1c, 0x672ba8\nMOV             R1, R6                                                 ; +0x20, 0x672bac\nLDR             R3, [R0]                                               ; +0x22, 0x672bae\nLDR.W           R3, [R3,#0xE8]                                         ; +0x24, 0x672bb0\nBLX             R3                                                     ; +0x28, 0x672bb4\nBL              _ZN7cocos2d7CCArray6createEv; cocos2d::CCArray::create(void) ; +0x2a, 0x672bb6\nSTR.W           R0, [R4,#0x21C]                                        ; +0x2e, 0x672bba\nBL              _ZN7cocos2d8CCObject6retainEv; cocos2d::CCObject::retain(void) ; +0x32, 0x672bbe\nLDR.W           R0, [R4,#0x20C]; this                                  ; +0x36, 0x672bc2\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x3a, 0x672bc6\nCMP             R5, R0                                                 ; +0x3e, 0x672bca\nBCS             locret_672BF8                                          ; +0x40, 0x672bcc\nMOV             R0, R8; this                                           ; +0x42, 0x672bce\nADDS            R5, #1                                                 ; +0x44, 0x672bd0\nBL              _ZN7cocos2d8CCSprite6createEPKc; cocos2d::CCSprite::create(char const*) ; +0x46, 0x672bd2\nLDR             R1, =0x3F4CCCCD                                        ; +0x4a, 0x672bd6\nLDR             R3, [R0]                                               ; +0x4c, 0x672bd8\nMOV             R7, R0                                                 ; +0x4e, 0x672bda\nLDR             R3, [R3,#0x50]                                         ; +0x50, 0x672bdc\nBLX             R3                                                     ; +0x52, 0x672bde\nLDR             R3, [R6]                                               ; +0x54, 0x672be0\nMOV             R0, R6                                                 ; +0x56, 0x672be2\nMOV             R1, R7                                                 ; +0x58, 0x672be4\nLDR.W           R3, [R3,#0xE4]                                         ; +0x5a, 0x672be6\nBLX             R3                                                     ; +0x5e, 0x672bea\nLDR.W           R0, [R4,#0x21C]; this                                  ; +0x60, 0x672bec\nMOV             R1, R7; cocos2d::CCObject *                            ; +0x64, 0x672bf0\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x66, 0x672bf2\nB               loc_672BC2                                             ; +0x6a, 0x672bf6\nPOP.W           {R4-R8,PC}                                             ; +0x6c, 0x672bf8", "xrefs": ["BrowseSmartTemplateLayer::updateDots @ 0x672c26"], "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"}