{"type": "func", "start": 4300121168, "end": 4300121376, "name": "BrowseSmartTemplateLayer::createDots", "pseudocode": "// \n// BrowseSmartTemplateLayer::createDots from 0x1004ea450 to 0x1004ea520 (208 bytes)\n// \n// 1 xrefs:\n// > BrowseSmartTemplateLayer::updateDots @ 0x1004ea541\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 __fastcall BrowseSmartTemplateLayer::createDots(BrowseSmartTemplateLayer *a1)\n{\n  cocos2d::CCSpriteBatchNode *v2; // r14\n  cocos2d::CCLayer *m_mainLayer; // rdi\n  cocos2d::CCArray *v4; // rax\n  unsigned int v5; // r13d\n  cocos2d::CCSprite *v6; // r12\n\n  v2 = cocos2d::CCSpriteBatchNode::create(\"smallDot.png\", 0x1Du);\n  m_mainLayer = a1->m_mainLayer;\n  ((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCSpriteBatchNode *, __int64))m_mainLayer->addChild_0)(\n    m_mainLayer,\n    v2,\n    5);\n  v4 = (cocos2d::CCArray *)sub_10071F9E0(m_mainLayer, v2);\n  a1->m_dotsArray = v4;\n  cocos2d::CCObject::retain(v4);\n  if ( (unsigned int)sub_100720070(a1->m_pages) )\n  {\n    v5 = 0;\n    do\n    {\n      v6 = cocos2d::CCSprite::create_1(\"smallDot.png\");\n      ((void (__fastcall *)(cocos2d::CCSprite *, float))v6->setScale)(v6, 0.80000001);\n      ((void (__fastcall *)(cocos2d::CCSpriteBatchNode *, cocos2d::CCSprite *))v2->addChild)(v2, v6);\n      sub_10071FCD0(a1->m_dotsArray, v6);\n      ++v5;\n    }\n    while ( v5 < (unsigned int)sub_100720070(a1->m_pages) );\n  }\n}", "assembly": "; \n; BrowseSmartTemplateLayer::createDots from 0x1004ea450 to 0x1004ea520 (208 bytes)\n; \n; 1 xrefs:\n; > BrowseSmartTemplateLayer::updateDots @ 0x1004ea541\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    rbp                                                            ; +0x0, 0x1004ea450\nmov     rbp, rsp                                                       ; +0x1, 0x1004ea451\npush    r15                                                            ; +0x4, 0x1004ea454\npush    r14                                                            ; +0x6, 0x1004ea456\npush    r13                                                            ; +0x8, 0x1004ea458\npush    r12                                                            ; +0xa, 0x1004ea45a\npush    rbx                                                            ; +0xc, 0x1004ea45c\npush    rax                                                            ; +0xd, 0x1004ea45d\nmov     rbx, rdi                                                       ; +0xe, 0x1004ea45e\nlea     rdi, aSmalldotPng; \"smallDot.png\"                              ; +0x11, 0x1004ea461\nmov     esi, 1Dh                                                       ; +0x18, 0x1004ea468\ncall    cocos2d__CCSpriteBatchNode__create                             ; +0x1d, 0x1004ea46d\nmov     r14, rax                                                       ; +0x22, 0x1004ea472\nmov     rdi, [rbx+240h]                                                ; +0x25, 0x1004ea475\nmov     rax, [rdi]                                                     ; +0x2c, 0x1004ea47c\nmov     rsi, r14                                                       ; +0x2f, 0x1004ea47f\nmov     edx, 5                                                         ; +0x32, 0x1004ea482\ncall    qword ptr [rax+1C0h]                                           ; +0x37, 0x1004ea487\ncall    sub_10071F9E0                                                  ; +0x3d, 0x1004ea48d\nmov     [rbx+2A0h], rax                                                ; +0x42, 0x1004ea492\nmov     rdi, rax                                                       ; +0x49, 0x1004ea499\ncall    cocos2d__CCObject__retain                                      ; +0x4c, 0x1004ea49c\nmov     rdi, [rbx+280h]                                                ; +0x51, 0x1004ea4a1\ncall    sub_100720070                                                  ; +0x58, 0x1004ea4a8\ntest    eax, eax                                                       ; +0x5d, 0x1004ea4ad\njz      short loc_1004EA511                                            ; +0x5f, 0x1004ea4af\nxor     r13d, r13d                                                     ; +0x61, 0x1004ea4b1\nlea     r15, aSmalldotPng; \"smallDot.png\"                              ; +0x64, 0x1004ea4b4\nnop     dword ptr [rax+rax+00h]                                        ; +0x6b, 0x1004ea4bb\nmov     rdi, r15                                                       ; +0x70, 0x1004ea4c0\ncall    cocos2d__CCSprite__create_1                                    ; +0x73, 0x1004ea4c3\nmov     r12, rax                                                       ; +0x78, 0x1004ea4c8\nmov     rax, [rax]                                                     ; +0x7b, 0x1004ea4cb\nmov     rdi, r12                                                       ; +0x7e, 0x1004ea4ce\nmovss   xmm0, cs:dword_100814FE4                                       ; +0x81, 0x1004ea4d1\ncall    qword ptr [rax+0A0h]                                           ; +0x89, 0x1004ea4d9\nmov     rax, [r14]                                                     ; +0x8f, 0x1004ea4df\nmov     rdi, r14                                                       ; +0x92, 0x1004ea4e2\nmov     rsi, r12                                                       ; +0x95, 0x1004ea4e5\ncall    qword ptr [rax+1B8h]                                           ; +0x98, 0x1004ea4e8\nmov     rdi, [rbx+2A0h]                                                ; +0x9e, 0x1004ea4ee\nmov     rsi, r12                                                       ; +0xa5, 0x1004ea4f5\ncall    sub_10071FCD0                                                  ; +0xa8, 0x1004ea4f8\ninc     r13d                                                           ; +0xad, 0x1004ea4fd\nmov     rdi, [rbx+280h]                                                ; +0xb0, 0x1004ea500\ncall    sub_100720070                                                  ; +0xb7, 0x1004ea507\ncmp     r13d, eax                                                      ; +0xbc, 0x1004ea50c\njb      short loc_1004EA4C0                                            ; +0xbf, 0x1004ea50f\nadd     rsp, 8                                                         ; +0xc1, 0x1004ea511\npop     rbx                                                            ; +0xc5, 0x1004ea515\npop     r12                                                            ; +0xc6, 0x1004ea516\npop     r13                                                            ; +0xc8, 0x1004ea518\npop     r14                                                            ; +0xca, 0x1004ea51a\npop     r15                                                            ; +0xcc, 0x1004ea51c\npop     rbp                                                            ; +0xce, 0x1004ea51e\nretn                                                                   ; +0xcf, 0x1004ea51f", "xrefs": ["BrowseSmartTemplateLayer::updateDots @ 0x1004ea541"], "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"}