{"type": "func", "start": 4141224, "end": 4141252, "name": "CCSpriteWithHue::initWithTexture", "pseudocode": "// \n// CCSpriteWithHue::initWithTexture from 0x3f30a8 to 0x3f30c4 (28 bytes)\n// \n// 1 xrefs:\n// > CCSpriteGrayscale::createWithTexture @ 0x3f2e6a\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:47:15 +0000\n// \n\nint __fastcall CCSpriteWithHue::initWithTexture(\n        CCSpriteWithHue *this,\n        cocos2d::CCTexture2D *a2,\n        const cocos2d::CCRect *a3,\n        bool a4)\n{\n  int v5; // r4\n  int v6; // r1\n  char *v7; // r2\n  int v8; // r3\n\n  v5 = cocos2d::CCSprite::initWithTexture(this, a2, a3, a4);\n  if ( v5 )\n  {\n    CCSpriteWithHue::setupDefaultSettings(this);\n    CCSpriteWithHue::initShader(this, v6, v7, v8);\n  }\n  return v5;\n}", "assembly": "; \n; CCSpriteWithHue::initWithTexture from 0x3f30a8 to 0x3f30c4 (28 bytes)\n; \n; 1 xrefs:\n; > CCSpriteGrayscale::createWithTexture @ 0x3f2e6a\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:47:15 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x3f30a8\nMOV             R5, R0                                                 ; +0x2, 0x3f30aa\nBL              _ZN7cocos2d8CCSprite15initWithTextureEPNS_11CCTexture2DERKNS_6CCRectEb; cocos2d::CCSprite::initWithTexture(cocos2d::CCTexture2D *,cocos2d::CCRect const&,bool) ; +0x4, 0x3f30ac\nMOV             R4, R0                                                 ; +0x8, 0x3f30b0\nCBZ             R0, loc_3F30C0                                         ; +0xa, 0x3f30b2\nMOV             R0, R5; this                                           ; +0xc, 0x3f30b4\nBL              _ZN15CCSpriteWithHue20setupDefaultSettingsEv; CCSpriteWithHue::setupDefaultSettings(void) ; +0xe, 0x3f30b6\nMOV             R0, R5; this                                           ; +0x12, 0x3f30ba\nBL              _ZN15CCSpriteWithHue10initShaderEv; CCSpriteWithHue::initShader(void) ; +0x14, 0x3f30bc\nMOV             R0, R4                                                 ; +0x18, 0x3f30c0\nPOP             {R3-R5,PC}                                             ; +0x1a, 0x3f30c2", "xrefs": ["CCSpriteGrayscale::createWithTexture @ 0x3f2e6a"], "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"}