{"type": "func", "start": 6305892, "end": 6305954, "name": "CurrencySprite::createWithSprite", "pseudocode": "// \n// CurrencySprite::createWithSprite from 0x603864 to 0x6038a2 (62 bytes)\n// \n// 1 xrefs:\n// > CurrencyRewardLayer::createObjectsFull @ 0x604da2\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:54:42 +0000\n// \n\nCurrencySprite *__fastcall CurrencySprite::createWithSprite(CurrencySprite *this, cocos2d::CCSprite *a2)\n{\n  CurrencySprite *v3; // r4\n  int v4; // r3\n  CurrencySprite *v5; // r0\n\n  v3 = (CurrencySprite *)operator new(0x230u);\n  CurrencySprite::CurrencySprite(v3);\n  if ( CurrencySprite::initWithSprite((cocos2d::CCNode **)v3, this) )\n  {\n    cocos2d::CCObject::autorelease(v3);\n  }\n  else\n  {\n    v4 = *(_DWORD *)v3;\n    v5 = v3;\n    v3 = nullptr;\n    (*(void (__fastcall **)(CurrencySprite *))(v4 + 8))(v5);\n  }\n  return v3;\n}", "assembly": "; \n; CurrencySprite::createWithSprite from 0x603864 to 0x6038a2 (62 bytes)\n; \n; 1 xrefs:\n; > CurrencyRewardLayer::createObjectsFull @ 0x604da2\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:54:42 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x603864\nMOV             R5, R0                                                 ; +0x2, 0x603866\nMOV.W           R0, #0x230; unsigned int                               ; +0x4, 0x603868\nBL              _Znwj; operator new(uint)                              ; +0x8, 0x60386c\nMOV             R4, R0                                                 ; +0xc, 0x603870\nBL              _ZN14CurrencySpriteC2Ev; CurrencySprite::CurrencySprite(void) ; +0xe, 0x603872\nMOV             R1, R5; cocos2d::CCSprite *                            ; +0x12, 0x603876\nMOV             R0, R4; this                                           ; +0x14, 0x603878\nBL              _ZN14CurrencySprite14initWithSpriteEPN7cocos2d8CCSpriteE; CurrencySprite::initWithSprite(cocos2d::CCSprite *) ; +0x16, 0x60387a\nMOV             R5, R0                                                 ; +0x1a, 0x60387e\nCBZ             R0, loc_603894                                         ; +0x1c, 0x603880\nMOV             R0, R4; this                                           ; +0x1e, 0x603882\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x20, 0x603884\nB               loc_60389E                                             ; +0x24, 0x603888\nMOV             R0, R4; void *                                         ; +0x26, 0x60388a\nBL              _ZdlPv; operator delete(void *)                        ; +0x28, 0x60388c\nBL              __cxa_end_cleanup                                      ; +0x2c, 0x603890\nLDR             R3, [R4]                                               ; +0x30, 0x603894\nMOV             R0, R4                                                 ; +0x32, 0x603896\nMOV             R4, R5                                                 ; +0x34, 0x603898\nLDR             R3, [R3,#8]                                            ; +0x36, 0x60389a\nBLX             R3                                                     ; +0x38, 0x60389c\nMOV             R0, R4                                                 ; +0x3a, 0x60389e\nPOP             {R3-R5,PC}                                             ; +0x3c, 0x6038a0", "xrefs": ["CurrencyRewardLayer::createObjectsFull @ 0x604da2"], "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"}