{"type": "func", "start": 5720324, "end": 5720368, "name": "CCCounterLabel::setTargetCount", "pseudocode": "// \n// CCCounterLabel::setTargetCount from 0x574904 to 0x574930 (44 bytes)\n// \n// 3 xrefs:\n// > GJShopLayer::updateCurrencyCounter @ 0x92a598\n// > GJShopLayer::didPurchaseItem @ 0x92ac0c\n// > <???> @ 0x74160\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 0x574904 to 0x574930 (44 bytes)\n; \n; 3 xrefs:\n; > GJShopLayer::updateCurrencyCounter @ 0x92a598\n; > GJShopLayer::didPurchaseItem @ 0x92ac0c\n; > <???> @ 0x74160\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\nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x574904\nMOV             X29, SP                                                ; +0x4, 0x574908\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x57490c\nMOV             X19, X0                                                ; +0xc, 0x574910\nSTR             W1, [X0,#0x1E8]                                        ; +0x10, 0x574914\nLDR             W1, [X0,#0x1F4]; int                                   ; +0x14, 0x574918\nBL              _ZN14CCCounterLabel17calculateStepSizeEi; CCCounterLabel::calculateStepSize(int) ; +0x18, 0x57491c\nMOV             X0, X19; this                                          ; +0x1c, 0x574920\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x20, 0x574924\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x24, 0x574928\nB               _ZN14CCCounterLabel13enableCounterEv; CCCounterLabel::enableCounter(void) ; +0x28, 0x57492c", "xrefs": ["GJShopLayer::updateCurrencyCounter @ 0x92a598", "GJShopLayer::didPurchaseItem @ 0x92ac0c", "<???> @ 0x74160"], "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"}