{"type": "func", "start": 4296327188, "end": 4296327240, "name": "GJShopLayer::updateCurrencyCounter", "pseudocode": "// \n// GJShopLayer::updateCurrencyCounter from 0x10014c014 to 0x10014c048 (52 bytes)\n// \n// 1 xrefs:\n// > GJShopLayer::rewardedVideoFinished @ 0x10014bfdc\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 __fastcall GJShopLayer::updateCurrencyCounter(GJShopLayer *a1)\n{\n  CCCounterLabel *m_currencyLabel; // x19\n  GameStatsManager *v2; // x0\n  int Stat; // w1\n\n  m_currencyLabel = a1->m_currencyLabel;\n  v2 = GameStatsManager::sharedState();\n  Stat = GameStatsManager::getStat(v2, \"14\");\n  CCCounterLabel::setTargetCount(m_currencyLabel, Stat);\n}", "assembly": "; \n; GJShopLayer::updateCurrencyCounter from 0x10014c014 to 0x10014c048 (52 bytes)\n; \n; 1 xrefs:\n; > GJShopLayer::rewardedVideoFinished @ 0x10014bfdc\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10014c014\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10014c018\nADD             X29, SP, #0x10                                         ; +0x8, 0x10014c01c\nLDR             X19, [X0,#0x1B8]                                       ; +0xc, 0x10014c020\nBL              GameStatsManager__sharedState                          ; +0x10, 0x10014c024\nADRL            X1, a14; \"14\"                                          ; +0x14, 0x10014c028\nBL              GameStatsManager__getStat                              ; +0x1c, 0x10014c030\nMOV             X1, X0                                                 ; +0x20, 0x10014c034\nMOV             X0, X19                                                ; +0x24, 0x10014c038\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x28, 0x10014c03c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x2c, 0x10014c040\nB               CCCounterLabel__setTargetCount                         ; +0x30, 0x10014c044", "xrefs": ["GJShopLayer::rewardedVideoFinished @ 0x10014bfdc"], "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"}