{"type": "func", "start": 4300126768, "end": 4300126842, "name": "GameToolbox::getLargestMergedIntDicts", "pseudocode": "// \n// GameToolbox::getLargestMergedIntDicts from 0x1004eba30 to 0x1004eba7a (74 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:31:22 +0000\n// \n\n__int64 __fastcall GameToolbox::getLargestMergedIntDicts(__int64 a1, __int64 a2)\n{\n  __int64 v2; // rbx\n  unsigned int v3; // r15d\n  bool v4; // cc\n  __int64 v5; // r15\n\n  v2 = a2;\n  v3 = cocos2d::CCDictionary::count(a2);\n  v4 = v3 <= (unsigned int)cocos2d::CCDictionary::count(a1);\n  v5 = a1;\n  if ( !v4 )\n  {\n    v5 = a2;\n    v2 = a1;\n  }\n  GameToolbox::mergeDictsSaveLargestInt(v5, v2);\n  return v5;\n}", "assembly": "; \n; GameToolbox::getLargestMergedIntDicts from 0x1004eba30 to 0x1004eba7a (74 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:31:22 +0000\n; \npush    rbp                                                            ; +0x0, 0x1004eba30\nmov     rbp, rsp                                                       ; +0x1, 0x1004eba31\npush    r15                                                            ; +0x4, 0x1004eba34\npush    r14                                                            ; +0x6, 0x1004eba36\npush    rbx                                                            ; +0x8, 0x1004eba38\npush    rax                                                            ; +0x9, 0x1004eba39\nmov     rbx, rsi                                                       ; +0xa, 0x1004eba3a\nmov     r14, rdi                                                       ; +0xd, 0x1004eba3d\nmov     rdi, rsi                                                       ; +0x10, 0x1004eba40\ncall    cocos2d__CCDictionary__count                                   ; +0x13, 0x1004eba43\nmov     r15d, eax                                                      ; +0x18, 0x1004eba48\nmov     rdi, r14                                                       ; +0x1b, 0x1004eba4b\ncall    cocos2d__CCDictionary__count                                   ; +0x1e, 0x1004eba4e\ncmp     r15d, eax                                                      ; +0x23, 0x1004eba53\nmov     r15, r14                                                       ; +0x26, 0x1004eba56\ncmova   r15, rbx                                                       ; +0x29, 0x1004eba59\ncmova   rbx, r14                                                       ; +0x2d, 0x1004eba5d\nmov     rdi, r15                                                       ; +0x31, 0x1004eba61\nmov     rsi, rbx                                                       ; +0x34, 0x1004eba64\ncall    GameToolbox__mergeDictsSaveLargestInt                          ; +0x37, 0x1004eba67\nmov     rax, r15                                                       ; +0x3c, 0x1004eba6c\nadd     rsp, 8                                                         ; +0x3f, 0x1004eba6f\npop     rbx                                                            ; +0x43, 0x1004eba73\npop     r14                                                            ; +0x44, 0x1004eba74\npop     r15                                                            ; +0x46, 0x1004eba76\npop     rbp                                                            ; +0x48, 0x1004eba78\nretn                                                                   ; +0x49, 0x1004eba79", "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"}