{"type": "func", "start": 4138648, "end": 4138740, "name": "CCSpriteWithHue::createWithTexture", "pseudocode": "// \n// CCSpriteWithHue::createWithTexture from 0x3f2698 to 0x3f26f4 (92 bytes)\n// \n// 0 xrefs:\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\nCCSpriteWithHue *__fastcall CCSpriteWithHue::createWithTexture(CCSpriteWithHue *this, cocos2d::CCTexture2D *a2)\n{\n  CCSpriteWithHue *v3; // r0\n  CCSpriteWithHue *v4; // r4\n\n  v3 = (CCSpriteWithHue *)operator new(0x23Cu, (const std::nothrow_t *)&std::nothrow);\n  v4 = v3;\n  if ( !v3 )\n    return v4;\n  memset(v3, 0, 0x23Cu);\n  CCSpriteWithHue::CCSpriteWithHue(v4);\n  if ( (*(int (__fastcall **)(CCSpriteWithHue *, CCSpriteWithHue *))(*(_DWORD *)v4 + 504))(v4, this) )\n  {\n    cocos2d::CCObject::autorelease(v4);\n    return v4;\n  }\n  (*(void (__fastcall **)(CCSpriteWithHue *))(*(_DWORD *)v4 + 8))(v4);\n  return nullptr;\n}", "assembly": "; \n; CCSpriteWithHue::createWithTexture from 0x3f2698 to 0x3f26f4 (92 bytes)\n; \n; 0 xrefs:\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, 0x3f2698\nMOV             R6, R0                                                 ; +0x2, 0x3f269a\nLDR             R5, =(_ZSt7nothrow_ptr - 0x3F26A6)                     ; +0x4, 0x3f269c\nMOV.W           R0, #0x23C; unsigned int                               ; +0x6, 0x3f269e\nADD             R5, PC; _ZSt7nothrow_ptr                               ; +0xa, 0x3f26a2\nLDR             R5, [R5]; std::nothrow ...                             ; +0xc, 0x3f26a4\nMOV             R1, R5; std::nothrow_t *                               ; +0xe, 0x3f26a6\nBL              _ZnwjRKSt9nothrow_t; operator new(uint,std::nothrow_t const&) ; +0x10, 0x3f26a8\nMOV             R4, R0                                                 ; +0x14, 0x3f26ac\nCBZ             R0, loc_3F26E4                                         ; +0x16, 0x3f26ae\nMOVS            R1, #0; int                                            ; +0x18, 0x3f26b0\nMOV.W           R2, #0x23C; size_t                                     ; +0x1a, 0x3f26b2\nBLX             memset                                                 ; +0x1e, 0x3f26b6\nMOV             R0, R4; this                                           ; +0x22, 0x3f26ba\nBL              _ZN15CCSpriteWithHueC2Ev; CCSpriteWithHue::CCSpriteWithHue(void) ; +0x24, 0x3f26bc\nB               loc_3F26CE                                             ; +0x28, 0x3f26c0\nMOV             R0, R4; void *                                         ; +0x2a, 0x3f26c2\nMOV             R1, R5; std::nothrow_t *                               ; +0x2c, 0x3f26c4\nBL              _ZdlPvRKSt9nothrow_t; operator delete(void *,std::nothrow_t const&) ; +0x2e, 0x3f26c6\nBL              __cxa_end_cleanup                                      ; +0x32, 0x3f26ca\nLDR             R3, [R4]                                               ; +0x36, 0x3f26ce\nMOV             R0, R4                                                 ; +0x38, 0x3f26d0\nMOV             R1, R6                                                 ; +0x3a, 0x3f26d2\nLDR.W           R3, [R3,#0x1F8]                                        ; +0x3c, 0x3f26d4\nBLX             R3                                                     ; +0x40, 0x3f26d8\nMOV             R5, R0                                                 ; +0x42, 0x3f26da\nCBZ             R0, loc_3F26E8                                         ; +0x44, 0x3f26dc\nMOV             R0, R4; this                                           ; +0x46, 0x3f26de\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x48, 0x3f26e0\nMOV             R0, R4                                                 ; +0x4c, 0x3f26e4\nPOP             {R4-R6,PC}                                             ; +0x4e, 0x3f26e6\nLDR             R3, [R4]                                               ; +0x50, 0x3f26e8\nMOV             R0, R4                                                 ; +0x52, 0x3f26ea\nLDR             R3, [R3,#8]                                            ; +0x54, 0x3f26ec\nBLX             R3                                                     ; +0x56, 0x3f26ee\nMOV             R0, R5                                                 ; +0x58, 0x3f26f0\nPOP             {R4-R6,PC}                                             ; +0x5a, 0x3f26f2", "xrefs": [], "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"}