{"type": "func", "start": 7202104, "end": 7202168, "name": "CCSpriteWithHue::initWithTexture", "pseudocode": "// \n// CCSpriteWithHue::initWithTexture from 0x6de538 to 0x6de578 (64 bytes)\n// \n// 5 xrefs:\n// > CCSpriteWithHue::createWithTexture @ 0x6dd688\n// > CCSpriteGrayscale::createWithTexture @ 0x6de3b0\n// > <???> @ 0x94d80\n// > <???> @ 0x1423ad0\n// > <???> @ 0x1424080\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:51:35 +0000\n// \n\n__int64 __fastcall CCSpriteWithHue::initWithTexture(\n        CCSpriteWithHue *this,\n        cocos2d::CCTexture2D *a2,\n        const cocos2d::CCRect *a3,\n        bool a4)\n{\n  unsigned __int8 v5; // w0\n  unsigned int v6; // w19\n\n  v5 = cocos2d::CCSprite::initWithTexture(this, a2, a3, a4);\n  v6 = v5;\n  if ( v5 )\n  {\n    CCSpriteWithHue::setupDefaultSettings(this);\n    CCSpriteWithHue::initShader(this);\n  }\n  return v6;\n}", "assembly": "; \n; CCSpriteWithHue::initWithTexture from 0x6de538 to 0x6de578 (64 bytes)\n; \n; 5 xrefs:\n; > CCSpriteWithHue::createWithTexture @ 0x6dd688\n; > CCSpriteGrayscale::createWithTexture @ 0x6de3b0\n; > <???> @ 0x94d80\n; > <???> @ 0x1423ad0\n; > <???> @ 0x1424080\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:51:35 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x6de538\nMOV             X29, SP                                                ; +0x4, 0x6de53c\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x6de540\nMOV             X20, X0                                                ; +0xc, 0x6de544\nBL              _ZN7cocos2d8CCSprite15initWithTextureEPNS_11CCTexture2DERKNS_6CCRectEb; cocos2d::CCSprite::initWithTexture(cocos2d::CCTexture2D *,cocos2d::CCRect const&,bool) ; +0x10, 0x6de548\nUXTB            W0, W0                                                 ; +0x14, 0x6de54c\nMOV             W19, W0                                                ; +0x18, 0x6de550\nCBZ             W0, loc_6DE568                                         ; +0x1c, 0x6de554\nMOV             X0, X20; this                                          ; +0x20, 0x6de558\nBL              _ZN15CCSpriteWithHue20setupDefaultSettingsEv; CCSpriteWithHue::setupDefaultSettings(void) ; +0x24, 0x6de55c\nMOV             X0, X20; this                                          ; +0x28, 0x6de560\nBL              _ZN15CCSpriteWithHue10initShaderEv; CCSpriteWithHue::initShader(void) ; +0x2c, 0x6de564\nMOV             W0, W19                                                ; +0x30, 0x6de568\nLDP             X19, X20, [SP,#var_s10]                                ; +0x34, 0x6de56c\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x38, 0x6de570\nRET                                                                    ; +0x3c, 0x6de574", "xrefs": ["CCSpriteWithHue::createWithTexture @ 0x6dd688", "CCSpriteGrayscale::createWithTexture @ 0x6de3b0", "<???> @ 0x94d80", "<???> @ 0x1423ad0", "<???> @ 0x1424080"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}