{"type": "func", "start": 4295317360, "end": 4295317448, "name": "GameStatsManager::logCoins", "pseudocode": "// \n// GameStatsManager::logCoins from 0x100055770 to 0x1000557c8 (88 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:36 +0000\n// \n\n__int64 __fastcall GameStatsManager::logCoins(__int64 a1)\n{\n  __int64 v1; // rbx\n  __int64 result; // rax\n  unsigned int v3; // r14d\n  __int64 v4; // rax\n\n  v1 = cocos2d::CCDictionary::allKeys(*(_QWORD *)(a1 + 616));\n  result = sub_1007FEF90(v1);\n  if ( (_DWORD)result )\n  {\n    v3 = 0;\n    do\n    {\n      v4 = cocos2d::CCArray::stringAtIndex(v1, v3);\n      cocos2d::CCString::getCString(v4);\n      ++v3;\n      result = sub_1007FEF90(v1);\n    }\n    while ( v3 < (unsigned int)result );\n  }\n  return result;\n}", "assembly": "; \n; GameStatsManager::logCoins from 0x100055770 to 0x1000557c8 (88 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:36 +0000\n; \npush    rbp                                                            ; +0x0, 0x100055770\nmov     rbp, rsp                                                       ; +0x1, 0x100055771\npush    r14                                                            ; +0x4, 0x100055774\npush    rbx                                                            ; +0x6, 0x100055776\nmov     rdi, [rdi+268h]                                                ; +0x7, 0x100055777\ncall    cocos2d__CCDictionary__allKeys                                 ; +0xe, 0x10005577e\nmov     rbx, rax                                                       ; +0x13, 0x100055783\nmov     rdi, rax                                                       ; +0x16, 0x100055786\ncall    sub_1007FEF90                                                  ; +0x19, 0x100055789\ntest    eax, eax                                                       ; +0x1e, 0x10005578e\njz      short loc_1000557C3                                            ; +0x20, 0x100055790\nxor     r14d, r14d                                                     ; +0x22, 0x100055792\nnop     word ptr [rax+rax+00000000h]                                   ; +0x25, 0x100055795\nmov     rdi, rbx                                                       ; +0x30, 0x1000557a0\nmov     esi, r14d                                                      ; +0x33, 0x1000557a3\ncall    cocos2d__CCArray__stringAtIndex                                ; +0x36, 0x1000557a6\nmov     rdi, rax                                                       ; +0x3b, 0x1000557ab\ncall    cocos2d__CCString__getCString                                  ; +0x3e, 0x1000557ae\ninc     r14d                                                           ; +0x43, 0x1000557b3\nmov     rdi, rbx                                                       ; +0x46, 0x1000557b6\ncall    sub_1007FEF90                                                  ; +0x49, 0x1000557b9\ncmp     r14d, eax                                                      ; +0x4e, 0x1000557be\njb      short loc_1000557A0                                            ; +0x51, 0x1000557c1\npop     rbx                                                            ; +0x53, 0x1000557c3\npop     r14                                                            ; +0x54, 0x1000557c4\npop     rbp                                                            ; +0x56, 0x1000557c6\nretn                                                                   ; +0x57, 0x1000557c7", "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"}