{"type": "func", "start": 4300141168, "end": 4300141242, "name": "GameToolbox::getLargestMergedIntDicts", "pseudocode": "// \n// GameToolbox::getLargestMergedIntDicts from 0x1004ef270 to 0x1004ef2ba (74 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\ncocos2d::CCDictionary *__fastcall GameToolbox::getLargestMergedIntDicts(\n        cocos2d::CCDictionary *a1,\n        cocos2d::CCDictionary *a2)\n{\n  cocos2d::CCDictionary *v2; // rbx\n  unsigned int v3; // r15d\n  bool v4; // cc\n  cocos2d::CCDictionary *v5; // r15\n\n  v2 = a2;\n  v3 = cocos2d::CCDictionary::count(a2);\n  v4 = v3 <= 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 0x1004ef270 to 0x1004ef2ba (74 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, 0x1004ef270\nmov     rbp, rsp                                                       ; +0x1, 0x1004ef271\npush    r15                                                            ; +0x4, 0x1004ef274\npush    r14                                                            ; +0x6, 0x1004ef276\npush    rbx                                                            ; +0x8, 0x1004ef278\npush    rax                                                            ; +0x9, 0x1004ef279\nmov     rbx, rsi                                                       ; +0xa, 0x1004ef27a\nmov     r14, rdi                                                       ; +0xd, 0x1004ef27d\nmov     rdi, rsi                                                       ; +0x10, 0x1004ef280\ncall    cocos2d__CCDictionary__count                                   ; +0x13, 0x1004ef283\nmov     r15d, eax                                                      ; +0x18, 0x1004ef288\nmov     rdi, r14                                                       ; +0x1b, 0x1004ef28b\ncall    cocos2d__CCDictionary__count                                   ; +0x1e, 0x1004ef28e\ncmp     r15d, eax                                                      ; +0x23, 0x1004ef293\nmov     r15, r14                                                       ; +0x26, 0x1004ef296\ncmova   r15, rbx                                                       ; +0x29, 0x1004ef299\ncmova   rbx, r14                                                       ; +0x2d, 0x1004ef29d\nmov     rdi, r15                                                       ; +0x31, 0x1004ef2a1\nmov     rsi, rbx                                                       ; +0x34, 0x1004ef2a4\ncall    GameToolbox__mergeDictsSaveLargestInt                          ; +0x37, 0x1004ef2a7\nmov     rax, r15                                                       ; +0x3c, 0x1004ef2ac\nadd     rsp, 8                                                         ; +0x3f, 0x1004ef2af\npop     rbx                                                            ; +0x43, 0x1004ef2b3\npop     r14                                                            ; +0x44, 0x1004ef2b4\npop     r15                                                            ; +0x46, 0x1004ef2b6\npop     rbp                                                            ; +0x48, 0x1004ef2b8\nretn                                                                   ; +0x49, 0x1004ef2b9", "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"}