{"type": "func", "start": 4296685804, "end": 4296685904, "name": "CCSpriteWithHue::initWithSpriteFrame", "pseudocode": "// \n// CCSpriteWithHue::initWithSpriteFrame from 0x1001a38ec to 0x1001a3950 (100 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1007ace10\n// > <???> @ 0x1007ad3c8\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\nbool __fastcall CCSpriteWithHue::initWithSpriteFrame(CCSpriteWithHue *a1, cocos2d::CCSpriteFrame *a2)\n{\n  cocos2d::CCTexture2D *Texture; // x0\n  char v5; // w21\n\n  Texture = cocos2d::CCSpriteFrame::getTexture(a2);\n  v5 = ((__int64 (__fastcall *)(CCSpriteWithHue *, cocos2d::CCTexture2D *, cocos2d::CCRect *))a1->initWithTexture_0)(\n         a1,\n         Texture,\n         &a2->m_obRect);\n  ((void (__fastcall *)(CCSpriteWithHue *, cocos2d::CCSpriteFrame *))a1->setDisplayFrame)(a1, a2);\n  return v5;\n}", "assembly": "; \n; CCSpriteWithHue::initWithSpriteFrame from 0x1001a38ec to 0x1001a3950 (100 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1007ace10\n; > <???> @ 0x1007ad3c8\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             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x1001a38ec\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1001a38f0\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1001a38f4\nADD             X29, SP, #0x20                                         ; +0xc, 0x1001a38f8\nMOV             X19, X1                                                ; +0x10, 0x1001a38fc\nMOV             X20, X0                                                ; +0x14, 0x1001a3900\nMOV             X0, X1                                                 ; +0x18, 0x1001a3904\nBL              cocos2d__CCSpriteFrame__getTexture                     ; +0x1c, 0x1001a3908\nMOV             X1, X0                                                 ; +0x20, 0x1001a390c\nLDR             X8, [X20]                                              ; +0x24, 0x1001a3910\nLDR             X8, [X8,#0x3E8]                                        ; +0x28, 0x1001a3914\nADD             X2, X19, #0x5C ; '\\'                                   ; +0x2c, 0x1001a3918\nMOV             X0, X20                                                ; +0x30, 0x1001a391c\nBLR             X8                                                     ; +0x34, 0x1001a3920\nMOV             X21, X0                                                ; +0x38, 0x1001a3924\nLDR             X8, [X20]                                              ; +0x3c, 0x1001a3928\nLDR             X8, [X8,#0x478]                                        ; +0x40, 0x1001a392c\nMOV             X0, X20                                                ; +0x44, 0x1001a3930\nMOV             X1, X19                                                ; +0x48, 0x1001a3934\nBLR             X8                                                     ; +0x4c, 0x1001a3938\nMOV             X0, X21                                                ; +0x50, 0x1001a393c\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x54, 0x1001a3940\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x58, 0x1001a3944\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x5c, 0x1001a3948\nRET                                                                    ; +0x60, 0x1001a394c", "xrefs": ["<???> @ 0x1007ace10", "<???> @ 0x1007ad3c8"], "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"}