{"type": "func", "start": 4295435520, "end": 4295435740, "name": "BrowseSmartTemplateLayer::createDots", "pseudocode": "// \n// BrowseSmartTemplateLayer::createDots from 0x100072500 to 0x1000725dc (220 bytes)\n// \n// 1 xrefs:\n// > BrowseSmartTemplateLayer::updateDots @ 0x100072610\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; // x20\n  __int64 v3; // x0\n  cocos2d::CCArray *v4; // x0\n  unsigned int v5; // w23\n  cocos2d::CCSprite *v6; // x22\n\n  v2 = cocos2d::CCSpriteBatchNode::create(\"smallDot.png\", 0x1Du);\n  v3 = ((__int64 (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCSpriteBatchNode *, __int64))a1->m_mainLayer->addChild_0)(\n         a1->m_mainLayer,\n         v2,\n         5);\n  v4 = (cocos2d::CCArray *)sub_10024A15C(v3);\n  a1->m_dotsArray = v4;\n  cocos2d::CCObject::retain(v4);\n  if ( (unsigned int)sub_10024A36C(a1->m_pages) )\n  {\n    v5 = 0;\n    do\n    {\n      v6 = cocos2d::CCSprite::create(\"smallDot.png\");\n      ((void (__fastcall *)(cocos2d::CCSprite *, float))v6->setScale)(v6, 0.8);\n      ((void (__fastcall *)(cocos2d::CCSpriteBatchNode *, cocos2d::CCSprite *))v2->addChild)(v2, v6);\n      sub_10024A2D0(a1->m_dotsArray, v6);\n      ++v5;\n    }\n    while ( v5 < (unsigned int)sub_10024A36C(a1->m_pages) );\n  }\n}", "assembly": "; \n; BrowseSmartTemplateLayer::createDots from 0x100072500 to 0x1000725dc (220 bytes)\n; \n; 1 xrefs:\n; > BrowseSmartTemplateLayer::updateDots @ 0x100072610\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\nSTP             D9, D8, [SP,#-0x10+var_40]!                            ; +0x0, 0x100072500\nSTP             X24, X23, [SP,#0x40+var_30]                            ; +0x4, 0x100072504\nSTP             X22, X21, [SP,#0x40+var_20]                            ; +0x8, 0x100072508\nSTP             X20, X19, [SP,#0x40+var_10]                            ; +0xc, 0x10007250c\nSTP             X29, X30, [SP,#0x40+var_s0]                            ; +0x10, 0x100072510\nADD             X29, SP, #0x40                                         ; +0x14, 0x100072514\nMOV             X19, X0                                                ; +0x18, 0x100072518\nADRL            X0, aSmalldotPng; \"smallDot.png\"                       ; +0x1c, 0x10007251c\nMOV             W1, #0x1D                                              ; +0x24, 0x100072524\nBL              cocos2d__CCSpriteBatchNode__create                     ; +0x28, 0x100072528\nMOV             X20, X0                                                ; +0x2c, 0x10007252c\nLDR             X0, [X19,#0x240]                                       ; +0x30, 0x100072530\nLDR             X8, [X0]                                               ; +0x34, 0x100072534\nLDR             X8, [X8,#0x1C0]                                        ; +0x38, 0x100072538\nMOV             X1, X20                                                ; +0x3c, 0x10007253c\nMOV             W2, #5                                                 ; +0x40, 0x100072540\nBLR             X8                                                     ; +0x44, 0x100072544\nBL              sub_10024A15C                                          ; +0x48, 0x100072548\nSTR             X0, [X19,#0x2A0]                                       ; +0x4c, 0x10007254c\nBL              cocos2d__CCObject__retain                              ; +0x50, 0x100072550\nLDR             X0, [X19,#0x280]                                       ; +0x54, 0x100072554\nBL              sub_10024A36C                                          ; +0x58, 0x100072558\nCBZ             W0, loc_1000725C4                                      ; +0x5c, 0x10007255c\nMOV             W23, #0                                                ; +0x60, 0x100072560\nADRL            X21, aSmalldotPng; \"smallDot.png\"                      ; +0x64, 0x100072564\nADRP            X8, #dword_100635340@PAGE                              ; +0x6c, 0x10007256c\nLDR             S8, [X8,#dword_100635340@PAGEOFF]                      ; +0x70, 0x100072570\nMOV             X0, X21                                                ; +0x74, 0x100072574\nBL              cocos2d__CCSprite__create                              ; +0x78, 0x100072578\nMOV             X22, X0                                                ; +0x7c, 0x10007257c\nLDR             X8, [X0]                                               ; +0x80, 0x100072580\nLDR             X8, [X8,#0xA0]                                         ; +0x84, 0x100072584\nFMOV            S0, S8                                                 ; +0x88, 0x100072588\nBLR             X8                                                     ; +0x8c, 0x10007258c\nLDR             X8, [X20]                                              ; +0x90, 0x100072590\nLDR             X8, [X8,#0x1B8]                                        ; +0x94, 0x100072594\nMOV             X0, X20                                                ; +0x98, 0x100072598\nMOV             X1, X22                                                ; +0x9c, 0x10007259c\nBLR             X8                                                     ; +0xa0, 0x1000725a0\nLDR             X0, [X19,#0x2A0]                                       ; +0xa4, 0x1000725a4\nMOV             X1, X22                                                ; +0xa8, 0x1000725a8\nBL              sub_10024A2D0                                          ; +0xac, 0x1000725ac\nADD             W23, W23, #1                                           ; +0xb0, 0x1000725b0\nLDR             X0, [X19,#0x280]                                       ; +0xb4, 0x1000725b4\nBL              sub_10024A36C                                          ; +0xb8, 0x1000725b8\nCMP             W23, W0                                                ; +0xbc, 0x1000725bc\nB.CC            loc_100072574                                          ; +0xc0, 0x1000725c0\nLDP             X29, X30, [SP,#0x40+var_s0]                            ; +0xc4, 0x1000725c4\nLDP             X20, X19, [SP,#0x40+var_10]                            ; +0xc8, 0x1000725c8\nLDP             X22, X21, [SP,#0x40+var_20]                            ; +0xcc, 0x1000725cc\nLDP             X24, X23, [SP,#0x40+var_30]                            ; +0xd0, 0x1000725d0\nLDP             D9, D8, [SP+0x40+var_40],#0x50                         ; +0xd4, 0x1000725d4\nRET                                                                    ; +0xd8, 0x1000725d8", "xrefs": ["BrowseSmartTemplateLayer::updateDots @ 0x100072610"], "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"}