{"type": "func", "start": 4298180192, "end": 4298180241, "name": "GJShopLayer::updateCurrencyCounter", "pseudocode": "// \n// GJShopLayer::updateCurrencyCounter from 0x100310660 to 0x100310691 (49 bytes)\n// \n// 2 xrefs:\n// > GJShopLayer::rewardedVideoFinished @ 0x100310631\n// > sub_1003106A0 @ 0x1003106c5\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:28:38 +0000\n// \n\n__int64 __fastcall GJShopLayer::updateCurrencyCounter(__int64 a1, __m128 a2)\n{\n  __int64 v2; // rbx\n  __int64 v3; // rax\n  unsigned int Stat; // eax\n\n  v2 = *(_QWORD *)(a1 + 440);\n  v3 = GameStatsManager::sharedState();\n  Stat = GameStatsManager::getStat(v3, \"14\", a2);\n  return CCCounterLabel::setTargetCount(v2, Stat);\n}", "assembly": "; \n; GJShopLayer::updateCurrencyCounter from 0x100310660 to 0x100310691 (49 bytes)\n; \n; 2 xrefs:\n; > GJShopLayer::rewardedVideoFinished @ 0x100310631\n; > sub_1003106A0 @ 0x1003106c5\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:28:38 +0000\n; \npush    rbp                                                            ; +0x0, 0x100310660\nmov     rbp, rsp                                                       ; +0x1, 0x100310661\npush    rbx                                                            ; +0x4, 0x100310664\npush    rax                                                            ; +0x5, 0x100310665\nmov     rbx, [rdi+1B8h]                                                ; +0x6, 0x100310666\ncall    GameStatsManager__sharedState                                  ; +0xd, 0x10031066d\nlea     rsi, a14; \"14\"                                                 ; +0x12, 0x100310672\nmov     rdi, rax                                                       ; +0x19, 0x100310679\ncall    GameStatsManager__getStat                                      ; +0x1c, 0x10031067c\nmov     rdi, rbx                                                       ; +0x21, 0x100310681\nmov     esi, eax                                                       ; +0x24, 0x100310684\nadd     rsp, 8                                                         ; +0x26, 0x100310686\npop     rbx                                                            ; +0x2a, 0x10031068a\npop     rbp                                                            ; +0x2b, 0x10031068b\njmp     CCCounterLabel__setTargetCount                                 ; +0x2c, 0x10031068c", "xrefs": ["GJShopLayer::rewardedVideoFinished @ 0x100310631", "sub_1003106A0 @ 0x1003106c5"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}