{"type": "func", "start": 4138208, "end": 4138254, "name": "CCSpriteWithHue::initWithSpriteFrame", "pseudocode": "// \n// CCSpriteWithHue::initWithSpriteFrame from 0x3f24e0 to 0x3f250e (46 bytes)\n// \n// 1 xrefs:\n// > CCSpriteGrayscale::createWithSpriteFrame @ 0x3f2eee\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:14 +0000\n// \n\nint __fastcall CCSpriteWithHue::initWithSpriteFrame(CCSpriteWithHue *this, cocos2d::CCSpriteFrame *a2)\n{\n  int (__fastcall *v4)(CCSpriteWithHue *, int, char *); // r6\n  int Texture; // r0\n  int v6; // r6\n\n  v4 = *(int (__fastcall **)(CCSpriteWithHue *, int, char *))(*(_DWORD *)this + 508);\n  Texture = cocos2d::CCSpriteFrame::getTexture(a2);\n  v6 = v4(this, Texture, (char *)a2 + 88);\n  (*(void (__fastcall **)(CCSpriteWithHue *, cocos2d::CCSpriteFrame *))(*(_DWORD *)this + 580))(this, a2);\n  return v6;\n}", "assembly": "; \n; CCSpriteWithHue::initWithSpriteFrame from 0x3f24e0 to 0x3f250e (46 bytes)\n; \n; 1 xrefs:\n; > CCSpriteGrayscale::createWithSpriteFrame @ 0x3f2eee\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:14 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x3f24e0\nMOV             R4, R0                                                 ; +0x2, 0x3f24e2\nLDR             R3, [R0]                                               ; +0x4, 0x3f24e4\nMOV             R0, R1; this                                           ; +0x6, 0x3f24e6\nMOV             R5, R1                                                 ; +0x8, 0x3f24e8\nLDR.W           R6, [R3,#0x1FC]                                        ; +0xa, 0x3f24ea\nBL              _ZN7cocos2d13CCSpriteFrame10getTextureEv; cocos2d::CCSpriteFrame::getTexture(void) ; +0xe, 0x3f24ee\nADD.W           R2, R5, #0x58 ; 'X'                                    ; +0x12, 0x3f24f2\nMOV             R1, R0                                                 ; +0x16, 0x3f24f6\nMOV             R0, R4                                                 ; +0x18, 0x3f24f8\nBLX             R6                                                     ; +0x1a, 0x3f24fa\nLDR             R3, [R4]                                               ; +0x1c, 0x3f24fc\nMOV             R1, R5                                                 ; +0x1e, 0x3f24fe\nLDR.W           R3, [R3,#0x244]                                        ; +0x20, 0x3f2500\nMOV             R6, R0                                                 ; +0x24, 0x3f2504\nMOV             R0, R4                                                 ; +0x26, 0x3f2506\nBLX             R3                                                     ; +0x28, 0x3f2508\nMOV             R0, R6                                                 ; +0x2a, 0x3f250a\nPOP             {R4-R6,PC}                                             ; +0x2c, 0x3f250c", "xrefs": ["CCSpriteGrayscale::createWithSpriteFrame @ 0x3f2eee"], "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"}