{"type": "func", "start": 5047112, "end": 5047220, "name": "CurrencySprite::CurrencySprite", "pseudocode": "// \n// CurrencySprite::CurrencySprite from 0x4d0348 to 0x4d03b4 (108 bytes)\n// \n// 2 xrefs:\n// > CurrencySprite::createWithSprite @ 0x4d05ca\n// > CurrencySprite::create @ 0x4d16e0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Alternative name is '_ZN14CurrencySpriteC1Ev'\nCurrencySprite *CurrencySprite::CurrencySprite(CurrencySprite *a1)\n{\n  cocos2d::CCSprite::CCSprite(a1);\n  a1->m_followers = nullptr;\n  a1->m_followingSprite = nullptr;\n  a1->m_hasFollower = 0;\n  a1->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (CurrencySprite_vtbl *)&off_A765F0;\n  a1->m_propagateScaleChanges = 0;\n  a1->m_propagateFlipChanges = 0;\n  a1->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&off_A768A4;\n  a1->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A76864;\n  a1->m_unkFloat1 = 0.0;\n  a1->m_unkFloat2 = 0.0;\n  a1->m_unkFloat3 = 0.0;\n  a1->m_remaining = 0.0;\n  a1->m_particleSystem = nullptr;\n  a1->m_count = 1;\n  a1->m_spriteType = Orb;\n  cocos2d::CCPoint::CCPoint(&a1->m_position);\n  a1->m_burstSprite = nullptr;\n  return a1;\n}", "assembly": "; \n; CurrencySprite::CurrencySprite from 0x4d0348 to 0x4d03b4 (108 bytes)\n; \n; 2 xrefs:\n; > CurrencySprite::createWithSprite @ 0x4d05ca\n; > CurrencySprite::create @ 0x4d16e0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R3-R5,LR}                                             ; +0x0, 0x4d0348\nMOV             R4, R0                                                 ; +0x2, 0x4d034a\nBL              _ZN7cocos2d8CCSpriteC2Ev; cocos2d::CCSprite::CCSprite(void) ; +0x4, 0x4d034c\nLDR             R2, =(_ZTV14CurrencySprite_ptr - 0x4D0360)             ; +0x8, 0x4d0350\nMOVS            R3, #0                                                 ; +0xa, 0x4d0352\nADD.W           R0, R4, #0x224; this                                   ; +0xc, 0x4d0354\nSTR.W           R3, [R4,#0x1FC]                                        ; +0x10, 0x4d0358\nADD             R2, PC; _ZTV14CurrencySprite_ptr                       ; +0x14, 0x4d035c\nLDR             R2, [R2]; `vtable for'CurrencySprite ...               ; +0x16, 0x4d035e\nSTR.W           R3, [R4,#0x200]                                        ; +0x18, 0x4d0360\nADD.W           R1, R2, #8                                             ; +0x1c, 0x4d0364\nSTRB.W          R3, [R4,#0x204]                                        ; +0x20, 0x4d0368\nSTR             R1, [R4]                                               ; +0x24, 0x4d036c\nADD.W           R1, R2, #0x27C                                         ; +0x26, 0x4d036e\nSTRB.W          R3, [R4,#0x205]                                        ; +0x2a, 0x4d0372\nADD.W           R2, R2, #0x2BC                                         ; +0x2e, 0x4d0376\nSTRB.W          R3, [R4,#0x206]                                        ; +0x32, 0x4d037a\nMOV             R5, R3                                                 ; +0x36, 0x4d037e\nSTR.W           R2, [R4,#0x118]                                        ; +0x38, 0x4d0380\nMOVS            R2, #0                                                 ; +0x3c, 0x4d0384\nSTR.W           R1, [R4,#0x108]                                        ; +0x3e, 0x4d0386\nSTR.W           R2, [R4,#0x208]                                        ; +0x42, 0x4d038a\nSTR.W           R2, [R4,#0x20C]                                        ; +0x46, 0x4d038e\nSTR.W           R2, [R4,#0x210]                                        ; +0x4a, 0x4d0392\nSTR.W           R2, [R4,#0x214]                                        ; +0x4e, 0x4d0396\nMOVS            R2, #1                                                 ; +0x52, 0x4d039a\nSTR.W           R3, [R4,#0x21C]                                        ; +0x54, 0x4d039c\nSTR.W           R2, [R4,#0x218]                                        ; +0x58, 0x4d03a0\nSTR.W           R2, [R4,#0x220]                                        ; +0x5c, 0x4d03a4\nBL              _ZN7cocos2d7CCPointC1Ev; cocos2d::CCPoint::CCPoint(void) ; +0x60, 0x4d03a8\nSTR.W           R5, [R4,#0x22C]                                        ; +0x64, 0x4d03ac\nMOV             R0, R4                                                 ; +0x68, 0x4d03b0\nPOP             {R3-R5,PC}                                             ; +0x6a, 0x4d03b2", "xrefs": ["CurrencySprite::createWithSprite @ 0x4d05ca", "CurrencySprite::create @ 0x4d16e0"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}