{"type": "func", "start": 4138428, "end": 4138530, "name": "CCSpriteWithHue::create", "pseudocode": "// \n// CCSpriteWithHue::create from 0x3f25bc to 0x3f2622 (102 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::create(int a1)\n{\n  CCSpriteWithHue *v2; // r0\n  CCSpriteWithHue *v3; // r4\n  int v4; // r1\n\n  v2 = (CCSpriteWithHue *)operator new(0x23Cu, (const std::nothrow_t *)&std::nothrow);\n  v3 = v2;\n  if ( !v2 )\n    return v3;\n  memset(v2, 0, 0x23Cu);\n  CCSpriteWithHue::CCSpriteWithHue(v3);\n  if ( (*(_BYTE *)a1 & 1) != 0 )\n    v4 = *(_DWORD *)(a1 + 8);\n  else\n    v4 = a1 + 1;\n  if ( (*(int (__fastcall **)(CCSpriteWithHue *, int))(*(_DWORD *)v3 + 524))(v3, v4) )\n  {\n    cocos2d::CCObject::autorelease(v3);\n    return v3;\n  }\n  (*(void (__fastcall **)(CCSpriteWithHue *))(*(_DWORD *)v3 + 8))(v3);\n  return nullptr;\n}", "assembly": "; \n; CCSpriteWithHue::create from 0x3f25bc to 0x3f2622 (102 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, 0x3f25bc\nMOV             R5, R0                                                 ; +0x2, 0x3f25be\nLDR             R6, =(_ZSt7nothrow_ptr - 0x3F25CA)                     ; +0x4, 0x3f25c0\nMOV.W           R0, #0x23C; unsigned int                               ; +0x6, 0x3f25c2\nADD             R6, PC; _ZSt7nothrow_ptr                               ; +0xa, 0x3f25c6\nLDR             R6, [R6]; std::nothrow ...                             ; +0xc, 0x3f25c8\nMOV             R1, R6; std::nothrow_t *                               ; +0xe, 0x3f25ca\nBL              _ZnwjRKSt9nothrow_t; operator new(uint,std::nothrow_t const&) ; +0x10, 0x3f25cc\nMOV             R4, R0                                                 ; +0x14, 0x3f25d0\nCBZ             R0, loc_3F2612                                         ; +0x16, 0x3f25d2\nMOVS            R1, #0; int                                            ; +0x18, 0x3f25d4\nMOV.W           R2, #0x23C; size_t                                     ; +0x1a, 0x3f25d6\nBLX             memset                                                 ; +0x1e, 0x3f25da\nMOV             R0, R4; this                                           ; +0x22, 0x3f25de\nBL              _ZN15CCSpriteWithHueC2Ev; CCSpriteWithHue::CCSpriteWithHue(void) ; +0x24, 0x3f25e0\nB               loc_3F25F2                                             ; +0x28, 0x3f25e4\nMOV             R0, R4; void *                                         ; +0x2a, 0x3f25e6\nMOV             R1, R6; std::nothrow_t *                               ; +0x2c, 0x3f25e8\nBL              _ZdlPvRKSt9nothrow_t; operator delete(void *,std::nothrow_t const&) ; +0x2e, 0x3f25ea\nBL              __cxa_end_cleanup                                      ; +0x32, 0x3f25ee\nLDRB            R2, [R5]                                               ; +0x36, 0x3f25f2\nLDR             R3, [R4]                                               ; +0x38, 0x3f25f4\nLSLS            R2, R2, #0x1F                                          ; +0x3a, 0x3f25f6\nLDR.W           R3, [R3,#0x20C]                                        ; +0x3c, 0x3f25f8\nBPL             loc_3F2602                                             ; +0x40, 0x3f25fc\nLDR             R1, [R5,#8]                                            ; +0x42, 0x3f25fe\nB               loc_3F2604                                             ; +0x44, 0x3f2600\nADDS            R1, R5, #1                                             ; +0x46, 0x3f2602\nMOV             R0, R4                                                 ; +0x48, 0x3f2604\nBLX             R3                                                     ; +0x4a, 0x3f2606\nMOV             R5, R0                                                 ; +0x4c, 0x3f2608\nCBZ             R0, loc_3F2616                                         ; +0x4e, 0x3f260a\nMOV             R0, R4; this                                           ; +0x50, 0x3f260c\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x52, 0x3f260e\nMOV             R0, R4                                                 ; +0x56, 0x3f2612\nPOP             {R4-R6,PC}                                             ; +0x58, 0x3f2614\nLDR             R3, [R4]                                               ; +0x5a, 0x3f2616\nMOV             R0, R4                                                 ; +0x5c, 0x3f2618\nLDR             R3, [R3,#8]                                            ; +0x5e, 0x3f261a\nBLX             R3                                                     ; +0x60, 0x3f261c\nMOV             R0, R5                                                 ; +0x62, 0x3f261e\nPOP             {R4-R6,PC}                                             ; +0x64, 0x3f2620", "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"}