{"type": "func", "start": 4301630112, "end": 4301630227, "name": "GJMultiplayerManager::getLastCommentIDForGame", "pseudocode": "// \n// GJMultiplayerManager::getLastCommentIDForGame from 0x10065aaa0 to 0x10065ab13 (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 GJMultiplayerManager::getLastCommentIDForGame(GJMultiplayerManager *a1, int a2)\n{\n  cocos2d::CCObject *v2; // rax\n  int v3; // ebx\n  cocos2d::CCObject *v4; // r14\n  unsigned int v5; // r15d\n  int v6; // eax\n\n  v2 = cocos2d::CCDictionary::objectForKey(a1->m_lobbyComments, a2);\n  v3 = 0;\n  if ( v2 )\n  {\n    v4 = v2;\n    if ( (unsigned int)sub_100720070(v2) )\n    {\n      if ( (unsigned int)sub_100720070(v4) )\n      {\n        v5 = 0;\n        v3 = 0;\n        do\n        {\n          v6 = *(_DWORD *)(sub_1007200C0(v4, v5) + 368);\n          if ( v6 > v3 )\n            v3 = v6;\n          ++v5;\n        }\n        while ( v5 < (unsigned int)sub_100720070(v4) );\n      }\n    }\n  }\n  return v3;\n}", "assembly": "; \n; GJMultiplayerManager::getLastCommentIDForGame from 0x10065aaa0 to 0x10065ab13 (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, 0x10065aaa0\nmov     rbp, rsp                                                       ; +0x1, 0x10065aaa1\npush    r15                                                            ; +0x4, 0x10065aaa4\npush    r14                                                            ; +0x6, 0x10065aaa6\npush    rbx                                                            ; +0x8, 0x10065aaa8\npush    rax                                                            ; +0x9, 0x10065aaa9\nmov     rdi, [rdi+158h]                                                ; +0xa, 0x10065aaaa\nmovsxd  rsi, esi                                                       ; +0x11, 0x10065aab1\ncall    cocos2d__CCDictionary__objectForKey                            ; +0x14, 0x10065aab4\nxor     ebx, ebx                                                       ; +0x19, 0x10065aab9\ntest    rax, rax                                                       ; +0x1b, 0x10065aabb\njz      short loc_10065AB06                                            ; +0x1e, 0x10065aabe\nmov     r14, rax                                                       ; +0x20, 0x10065aac0\nmov     rdi, rax                                                       ; +0x23, 0x10065aac3\ncall    sub_100720070                                                  ; +0x26, 0x10065aac6\ntest    eax, eax                                                       ; +0x2b, 0x10065aacb\njz      short loc_10065AB06                                            ; +0x2d, 0x10065aacd\nmov     rdi, r14                                                       ; +0x2f, 0x10065aacf\ncall    sub_100720070                                                  ; +0x32, 0x10065aad2\ntest    eax, eax                                                       ; +0x37, 0x10065aad7\njz      short loc_10065AB06                                            ; +0x39, 0x10065aad9\nxor     r15d, r15d                                                     ; +0x3b, 0x10065aadb\nxor     ebx, ebx                                                       ; +0x3e, 0x10065aade\nmov     rdi, r14                                                       ; +0x40, 0x10065aae0\nmov     esi, r15d                                                      ; +0x43, 0x10065aae3\ncall    sub_1007200C0                                                  ; +0x46, 0x10065aae6\nmov     eax, [rax+170h]                                                ; +0x4b, 0x10065aaeb\ncmp     eax, ebx                                                       ; +0x51, 0x10065aaf1\ncmovg   ebx, eax                                                       ; +0x53, 0x10065aaf3\ninc     r15d                                                           ; +0x56, 0x10065aaf6\nmov     rdi, r14                                                       ; +0x59, 0x10065aaf9\ncall    sub_100720070                                                  ; +0x5c, 0x10065aafc\ncmp     r15d, eax                                                      ; +0x61, 0x10065ab01\njb      short loc_10065AAE0                                            ; +0x64, 0x10065ab04\nmov     eax, ebx                                                       ; +0x66, 0x10065ab06\nadd     rsp, 8                                                         ; +0x68, 0x10065ab08\npop     rbx                                                            ; +0x6c, 0x10065ab0c\npop     r14                                                            ; +0x6d, 0x10065ab0d\npop     r15                                                            ; +0x6f, 0x10065ab0f\npop     rbp                                                            ; +0x71, 0x10065ab11\nretn                                                                   ; +0x72, 0x10065ab12", "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"}