{"type": "func", "start": 4295174320, "end": 4295174435, "name": "GameStatsManager::getCollectedCoinsForLevel", "pseudocode": "// \n// GameStatsManager::getCollectedCoinsForLevel from 0x1000328b0 to 0x100032923 (115 bytes)\n// \n// 0 xrefs:\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:19:31 +0000\n// \n\n__int64 __fastcall GameStatsManager::getCollectedCoinsForLevel(__int64 a1, __int64 a2)\n{\n  __int64 CoinKey_1; // rax\n  unsigned __int8 v3; // al\n  int v4; // r15d\n  __int64 v5; // rax\n  unsigned __int8 v6; // al\n  int v7; // r12d\n  __int64 v8; // rax\n  unsigned __int8 v9; // al\n\n  CoinKey_1 = GJGameLevel::getCoinKey_1(a2, 1);\n  GameStatsManager::hasSecretCoin(a1, CoinKey_1);\n  v4 = v3;\n  v5 = GJGameLevel::getCoinKey_1(a2, 2);\n  GameStatsManager::hasSecretCoin(a1, v5);\n  v7 = v4 + v6;\n  v8 = GJGameLevel::getCoinKey_1(a2, 3);\n  GameStatsManager::hasSecretCoin(a1, v8);\n  return v7 + (unsigned int)v9;\n}", "assembly": "; \n; GameStatsManager::getCollectedCoinsForLevel from 0x1000328b0 to 0x100032923 (115 bytes)\n; \n; 0 xrefs:\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:19:31 +0000\n; \npush    rbp                                                            ; +0x0, 0x1000328b0\nmov     rbp, rsp                                                       ; +0x1, 0x1000328b1\npush    r15                                                            ; +0x4, 0x1000328b4\npush    r14                                                            ; +0x6, 0x1000328b6\npush    r12                                                            ; +0x8, 0x1000328b8\npush    rbx                                                            ; +0xa, 0x1000328ba\nmov     r14, rsi                                                       ; +0xb, 0x1000328bb\nmov     rbx, rdi                                                       ; +0xe, 0x1000328be\nmov     rdi, rsi                                                       ; +0x11, 0x1000328c1\nmov     esi, 1                                                         ; +0x14, 0x1000328c4\ncall    GJGameLevel__getCoinKey_1                                      ; +0x19, 0x1000328c9\nmov     rdi, rbx                                                       ; +0x1e, 0x1000328ce\nmov     rsi, rax                                                       ; +0x21, 0x1000328d1\ncall    GameStatsManager__hasSecretCoin                                ; +0x24, 0x1000328d4\nmovzx   r15d, al                                                       ; +0x29, 0x1000328d9\nmov     rdi, r14                                                       ; +0x2d, 0x1000328dd\nmov     esi, 2                                                         ; +0x30, 0x1000328e0\ncall    GJGameLevel__getCoinKey_1                                      ; +0x35, 0x1000328e5\nmov     rdi, rbx                                                       ; +0x3a, 0x1000328ea\nmov     rsi, rax                                                       ; +0x3d, 0x1000328ed\ncall    GameStatsManager__hasSecretCoin                                ; +0x40, 0x1000328f0\nmovzx   r12d, al                                                       ; +0x45, 0x1000328f5\nadd     r12d, r15d                                                     ; +0x49, 0x1000328f9\nmov     rdi, r14                                                       ; +0x4c, 0x1000328fc\nmov     esi, 3                                                         ; +0x4f, 0x1000328ff\ncall    GJGameLevel__getCoinKey_1                                      ; +0x54, 0x100032904\nmov     rdi, rbx                                                       ; +0x59, 0x100032909\nmov     rsi, rax                                                       ; +0x5c, 0x10003290c\ncall    GameStatsManager__hasSecretCoin                                ; +0x5f, 0x10003290f\nmovzx   eax, al                                                        ; +0x64, 0x100032914\nadd     eax, r12d                                                      ; +0x67, 0x100032917\npop     rbx                                                            ; +0x6a, 0x10003291a\npop     r12                                                            ; +0x6b, 0x10003291b\npop     r14                                                            ; +0x6d, 0x10003291d\npop     r15                                                            ; +0x6f, 0x10003291f\npop     rbp                                                            ; +0x71, 0x100032921\nretn                                                                   ; +0x72, 0x100032922", "xrefs": [], "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"}