{"type": "func", "start": 4295414368, "end": 4295414483, "name": "GameStatsManager::getCollectedCoinsForLevel", "pseudocode": "// \n// GameStatsManager::getCollectedCoinsForLevel from 0x10006d260 to 0x10006d2d3 (115 bytes)\n// \n// 0 xrefs:\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\nint __fastcall GameStatsManager::getCollectedCoinsForLevel(GameStatsManager *a1, GJGameLevel *a2)\n{\n  const char *CoinKey; // rax\n  _BOOL4 hasSecretCoin; // r15d\n  const char *v4; // rax\n  int v5; // r12d\n  const char *v6; // rax\n\n  CoinKey = GJGameLevel::getCoinKey(a2, 1);\n  hasSecretCoin = GameStatsManager::hasSecretCoin(a1, CoinKey);\n  v4 = GJGameLevel::getCoinKey(a2, 2);\n  v5 = hasSecretCoin + GameStatsManager::hasSecretCoin(a1, v4);\n  v6 = GJGameLevel::getCoinKey(a2, 3);\n  return v5 + GameStatsManager::hasSecretCoin(a1, v6);\n}", "assembly": "; \n; GameStatsManager::getCollectedCoinsForLevel from 0x10006d260 to 0x10006d2d3 (115 bytes)\n; \n; 0 xrefs:\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, 0x10006d260\nmov     rbp, rsp                                                       ; +0x1, 0x10006d261\npush    r15                                                            ; +0x4, 0x10006d264\npush    r14                                                            ; +0x6, 0x10006d266\npush    r12                                                            ; +0x8, 0x10006d268\npush    rbx                                                            ; +0xa, 0x10006d26a\nmov     r14, rsi                                                       ; +0xb, 0x10006d26b\nmov     rbx, rdi                                                       ; +0xe, 0x10006d26e\nmov     rdi, rsi                                                       ; +0x11, 0x10006d271\nmov     esi, 1                                                         ; +0x14, 0x10006d274\ncall    GJGameLevel__getCoinKey                                        ; +0x19, 0x10006d279\nmov     rdi, rbx                                                       ; +0x1e, 0x10006d27e\nmov     rsi, rax                                                       ; +0x21, 0x10006d281\ncall    GameStatsManager__hasSecretCoin                                ; +0x24, 0x10006d284\nmovzx   r15d, al                                                       ; +0x29, 0x10006d289\nmov     rdi, r14                                                       ; +0x2d, 0x10006d28d\nmov     esi, 2                                                         ; +0x30, 0x10006d290\ncall    GJGameLevel__getCoinKey                                        ; +0x35, 0x10006d295\nmov     rdi, rbx                                                       ; +0x3a, 0x10006d29a\nmov     rsi, rax                                                       ; +0x3d, 0x10006d29d\ncall    GameStatsManager__hasSecretCoin                                ; +0x40, 0x10006d2a0\nmovzx   r12d, al                                                       ; +0x45, 0x10006d2a5\nadd     r12d, r15d                                                     ; +0x49, 0x10006d2a9\nmov     rdi, r14                                                       ; +0x4c, 0x10006d2ac\nmov     esi, 3                                                         ; +0x4f, 0x10006d2af\ncall    GJGameLevel__getCoinKey                                        ; +0x54, 0x10006d2b4\nmov     rdi, rbx                                                       ; +0x59, 0x10006d2b9\nmov     rsi, rax                                                       ; +0x5c, 0x10006d2bc\ncall    GameStatsManager__hasSecretCoin                                ; +0x5f, 0x10006d2bf\nmovzx   eax, al                                                        ; +0x64, 0x10006d2c4\nadd     eax, r12d                                                      ; +0x67, 0x10006d2c7\npop     rbx                                                            ; +0x6a, 0x10006d2ca\npop     r12                                                            ; +0x6b, 0x10006d2cb\npop     r14                                                            ; +0x6d, 0x10006d2cd\npop     r15                                                            ; +0x6f, 0x10006d2cf\npop     rbp                                                            ; +0x71, 0x10006d2d1\nretn                                                                   ; +0x72, 0x10006d2d2", "xrefs": [], "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"}