{"type": "func", "start": 4296685156, "end": 4296685224, "name": "CCSpriteWithHue::initWithTexture", "pseudocode": "// \n// CCSpriteWithHue::initWithTexture from 0x1001a3664 to 0x1001a36a8 (68 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1007ace08\n// > <???> @ 0x1007ad3c0\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::initWithTexture(\n        CCSpriteWithHue *a1,\n        cocos2d::CCTexture2D *a2,\n        const cocos2d::CCRect *a3,\n        bool a4)\n{\n  _BOOL4 v5; // w20\n\n  v5 = cocos2d::CCSprite::initWithTexture(a1, a2, a3, a4);\n  if ( v5 )\n  {\n    *(_OWORD *)&a1->m_hue = xmmword_100639530;\n    CCSpriteWithHue::initShader(a1);\n  }\n  return v5;\n}", "assembly": "; \n; CCSpriteWithHue::initWithTexture from 0x1001a3664 to 0x1001a36a8 (68 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1007ace08\n; > <???> @ 0x1007ad3c0\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1001a3664\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1001a3668\nADD             X29, SP, #0x10                                         ; +0x8, 0x1001a366c\nMOV             X19, X0                                                ; +0xc, 0x1001a3670\nBL              cocos2d__CCSprite__initWithTexture                     ; +0x10, 0x1001a3674\nMOV             X20, X0                                                ; +0x14, 0x1001a3678\nCBZ             W0, loc_1001A3698                                      ; +0x18, 0x1001a367c\nADD             X8, X19, #0x254                                        ; +0x1c, 0x1001a3680\nADRP            X9, #xmmword_100639530@PAGE                            ; +0x20, 0x1001a3684\nLDR             Q0, [X9,#xmmword_100639530@PAGEOFF]                    ; +0x24, 0x1001a3688\nSTR             Q0, [X8]                                               ; +0x28, 0x1001a368c\nMOV             X0, X19                                                ; +0x2c, 0x1001a3690\nBL              CCSpriteWithHue__initShader                            ; +0x30, 0x1001a3694\nMOV             X0, X20                                                ; +0x34, 0x1001a3698\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x38, 0x1001a369c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x3c, 0x1001a36a0\nRET                                                                    ; +0x40, 0x1001a36a4", "xrefs": ["<???> @ 0x1007ace08", "<???> @ 0x1007ad3c0"], "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"}