{"type": "func", "start": 4138744, "end": 4138850, "name": "CCSpriteWithHue::createWithTexture", "pseudocode": "// \n// CCSpriteWithHue::createWithTexture from 0x3f26f8 to 0x3f2762 (106 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(\n        CCSpriteWithHue *this,\n        cocos2d::CCTexture2D *a2,\n        const cocos2d::CCRect *a3,\n        bool a4)\n{\n  CCSpriteWithHue *v7; // r0\n  CCSpriteWithHue *v8; // r4\n\n  v7 = (CCSpriteWithHue *)operator new(0x23Cu, (const std::nothrow_t *)&std::nothrow);\n  v8 = v7;\n  if ( !v7 )\n    return v8;\n  memset(v7, 0, 0x23Cu);\n  CCSpriteWithHue::CCSpriteWithHue(v8);\n  if ( (*(int (__fastcall **)(CCSpriteWithHue *, CCSpriteWithHue *, cocos2d::CCTexture2D *, const cocos2d::CCRect *))(*(_DWORD *)v8 + 512))(\n         v8,\n         this,\n         a2,\n         a3) )\n  {\n    cocos2d::CCObject::autorelease(v8);\n    return v8;\n  }\n  (*(void (__fastcall **)(CCSpriteWithHue *))(*(_DWORD *)v8 + 8))(v8);\n  return nullptr;\n}", "assembly": "; \n; CCSpriteWithHue::createWithTexture from 0x3f26f8 to 0x3f2762 (106 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.W          {R4-R8,LR}                                             ; +0x0, 0x3f26f8\nMOV             R8, R0                                                 ; +0x4, 0x3f26fc\nLDR             R5, =(_ZSt7nothrow_ptr - 0x3F270C)                     ; +0x6, 0x3f26fe\nMOV             R7, R1                                                 ; +0x8, 0x3f2700\nMOV.W           R0, #0x23C; unsigned int                               ; +0xa, 0x3f2702\nMOV             R6, R2                                                 ; +0xe, 0x3f2706\nADD             R5, PC; _ZSt7nothrow_ptr                               ; +0x10, 0x3f2708\nLDR             R5, [R5]; std::nothrow ...                             ; +0x12, 0x3f270a\nMOV             R1, R5; std::nothrow_t *                               ; +0x14, 0x3f270c\nBL              _ZnwjRKSt9nothrow_t; operator new(uint,std::nothrow_t const&) ; +0x16, 0x3f270e\nMOV             R4, R0                                                 ; +0x1a, 0x3f2712\nCBZ             R0, loc_3F274E                                         ; +0x1c, 0x3f2714\nMOVS            R1, #0; int                                            ; +0x1e, 0x3f2716\nMOV.W           R2, #0x23C; size_t                                     ; +0x20, 0x3f2718\nBLX             memset                                                 ; +0x24, 0x3f271c\nMOV             R0, R4; this                                           ; +0x28, 0x3f2720\nBL              _ZN15CCSpriteWithHueC2Ev; CCSpriteWithHue::CCSpriteWithHue(void) ; +0x2a, 0x3f2722\nB               loc_3F2734                                             ; +0x2e, 0x3f2726\nMOV             R0, R4; void *                                         ; +0x30, 0x3f2728\nMOV             R1, R5; std::nothrow_t *                               ; +0x32, 0x3f272a\nBL              _ZdlPvRKSt9nothrow_t; operator delete(void *,std::nothrow_t const&) ; +0x34, 0x3f272c\nBL              __cxa_end_cleanup                                      ; +0x38, 0x3f2730\nLDR             R3, [R4]                                               ; +0x3c, 0x3f2734\nMOV             R0, R4                                                 ; +0x3e, 0x3f2736\nMOV             R1, R8                                                 ; +0x40, 0x3f2738\nMOV             R2, R7                                                 ; +0x42, 0x3f273a\nLDR.W           R5, [R3,#0x200]                                        ; +0x44, 0x3f273c\nMOV             R3, R6                                                 ; +0x48, 0x3f2740\nBLX             R5                                                     ; +0x4a, 0x3f2742\nMOV             R5, R0                                                 ; +0x4c, 0x3f2744\nCBZ             R0, loc_3F2754                                         ; +0x4e, 0x3f2746\nMOV             R0, R4; this                                           ; +0x50, 0x3f2748\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x52, 0x3f274a\nMOV             R0, R4                                                 ; +0x56, 0x3f274e\nPOP.W           {R4-R8,PC}                                             ; +0x58, 0x3f2750\nLDR             R3, [R4]                                               ; +0x5c, 0x3f2754\nMOV             R0, R4                                                 ; +0x5e, 0x3f2756\nLDR             R3, [R3,#8]                                            ; +0x60, 0x3f2758\nBLX             R3                                                     ; +0x62, 0x3f275a\nMOV             R0, R5                                                 ; +0x64, 0x3f275c\nPOP.W           {R4-R8,PC}                                             ; +0x66, 0x3f275e", "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"}