{"type": "func", "start": 3037298, "end": 3037324, "name": "CCCounterLabel::setTargetCount", "pseudocode": "// \n// CCCounterLabel::setTargetCount from 0x2e5872 to 0x2e588c (26 bytes)\n// \n// 2 xrefs:\n// > GJShopLayer::updateCurrencyCounter @ 0x4e1896\n// > GJShopLayer::didPurchaseItem @ 0x4e18f6\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\nvoid CCCounterLabel::setTargetCount(CCCounterLabel *a1, int a2)\n{\n  a1->m_targetCount = a2;\n  CCCounterLabel::calculateStepSize(a1, a1->m_stepCount);\n  CCCounterLabel::enableCounter(a1);\n}", "assembly": "; \n; CCCounterLabel::setTargetCount from 0x2e5872 to 0x2e588c (26 bytes)\n; \n; 2 xrefs:\n; > GJShopLayer::updateCurrencyCounter @ 0x4e1896\n; > GJShopLayer::didPurchaseItem @ 0x4e18f6\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            {R4,LR}                                                ; +0x0, 0x2e5872\nMOV             R4, R0                                                 ; +0x2, 0x2e5874\nSTR.W           R1, [R0,#0x170]                                        ; +0x4, 0x2e5876\nLDR.W           R1, [R0,#0x17C]; int                                   ; +0x8, 0x2e587a\nBL              _ZN14CCCounterLabel17calculateStepSizeEi; CCCounterLabel::calculateStepSize(int) ; +0xc, 0x2e587e\nMOV             R0, R4; this                                           ; +0x10, 0x2e5882\nPOP.W           {R4,LR}                                                ; +0x12, 0x2e5884\nB.W             _ZN14CCCounterLabel13enableCounterEv; CCCounterLabel::enableCounter(void) ; +0x16, 0x2e5888", "xrefs": ["GJShopLayer::updateCurrencyCounter @ 0x4e1896", "GJShopLayer::didPurchaseItem @ 0x4e18f6"], "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"}