{"type": "func", "start": 4298264576, "end": 4298264625, "name": "GJShopLayer::updateCurrencyCounter", "pseudocode": "// \n// GJShopLayer::updateCurrencyCounter from 0x100325000 to 0x100325031 (49 bytes)\n// \n// 2 xrefs:\n// > GJShopLayer::rewardedVideoFinished @ 0x100324fd1\n// > sub_100325040 @ 0x100325065\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; // rbx\n  GameStatsManager *v2; // rax\n  int Stat; // eax\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 0x100325000 to 0x100325031 (49 bytes)\n; \n; 2 xrefs:\n; > GJShopLayer::rewardedVideoFinished @ 0x100324fd1\n; > sub_100325040 @ 0x100325065\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    rbp                                                            ; +0x0, 0x100325000\nmov     rbp, rsp                                                       ; +0x1, 0x100325001\npush    rbx                                                            ; +0x4, 0x100325004\npush    rax                                                            ; +0x5, 0x100325005\nmov     rbx, [rdi+1B8h]                                                ; +0x6, 0x100325006\ncall    GameStatsManager__sharedState                                  ; +0xd, 0x10032500d\nlea     rsi, a14; \"14\"                                                 ; +0x12, 0x100325012\nmov     rdi, rax                                                       ; +0x19, 0x100325019\ncall    GameStatsManager__getStat                                      ; +0x1c, 0x10032501c\nmov     rdi, rbx                                                       ; +0x21, 0x100325021\nmov     esi, eax                                                       ; +0x24, 0x100325024\nadd     rsp, 8                                                         ; +0x26, 0x100325026\npop     rbx                                                            ; +0x2a, 0x10032502a\npop     rbp                                                            ; +0x2b, 0x10032502b\njmp     CCCounterLabel__setTargetCount                                 ; +0x2c, 0x10032502c", "xrefs": ["GJShopLayer::rewardedVideoFinished @ 0x100324fd1", "sub_100325040 @ 0x100325065"], "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"}