{"type": "func", "start": 4296124832, "end": 4296125011, "name": "GJBaseGameLayer::getCenterGroupObject", "pseudocode": "// \n// GJBaseGameLayer::getCenterGroupObject from 0x10011a9a0 to 0x10011aa53 (179 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:24:35 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::getCenterGroupObject(_QWORD *a1, int a2, int a3)\n{\n  int v4; // eax\n  __int64 v5; // r12\n  __int64 v6; // r14\n  __int64 v7; // rax\n\n  if ( a2 > 0 )\n    a3 = a2;\n  v4 = 9999;\n  if ( a3 < 9999 )\n    v4 = a3;\n  v5 = 0;\n  if ( v4 > 0 )\n    v5 = (unsigned int)v4;\n  v6 = *(_QWORD *)(a1[452] + 8 * v5);\n  if ( v6\n    || (v6 = sub_1007FE900(a1),\n        cocos2d::CCDictionary::setObject_1(a1[449], v6, v5),\n        (*(_QWORD *)(a1[452] + 8 * v5) = v6) != 0) )\n  {\n    if ( (unsigned int)sub_1007FEF90(v6) == 1 )\n      return sub_1007FEFE0(v6, 0);\n  }\n  v7 = cocos2d::CCDictionary::objectForKey_1(a1[461]);\n  if ( v7 && (v6 = v7, (unsigned int)sub_1007FEF90(v7)) )\n    return sub_1007FEFE0(v6, 0);\n  else\n    return 0;\n}", "assembly": "; \n; GJBaseGameLayer::getCenterGroupObject from 0x10011a9a0 to 0x10011aa53 (179 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:24:35 +0000\n; \npush    rbp                                                            ; +0x0, 0x10011a9a0\nmov     rbp, rsp                                                       ; +0x1, 0x10011a9a1\npush    r15                                                            ; +0x4, 0x10011a9a4\npush    r14                                                            ; +0x6, 0x10011a9a6\npush    r12                                                            ; +0x8, 0x10011a9a8\npush    rbx                                                            ; +0xa, 0x10011a9aa\nmov     ebx, edx                                                       ; +0xb, 0x10011a9ab\ntest    esi, esi                                                       ; +0xd, 0x10011a9ad\ncmovg   ebx, esi                                                       ; +0xf, 0x10011a9af\ncmp     ebx, 270Fh                                                     ; +0x12, 0x10011a9b2\nmov     eax, 270Fh                                                     ; +0x18, 0x10011a9b8\ncmovl   eax, ebx                                                       ; +0x1d, 0x10011a9bd\nxor     r12d, r12d                                                     ; +0x20, 0x10011a9c0\ntest    eax, eax                                                       ; +0x23, 0x10011a9c3\ncmovg   r12d, eax                                                      ; +0x25, 0x10011a9c5\nmov     r15, rdi                                                       ; +0x29, 0x10011a9c9\nmov     rax, [rdi+0E20h]                                               ; +0x2c, 0x10011a9cc\nmov     r14, [rax+r12*8]                                               ; +0x33, 0x10011a9d3\ntest    r14, r14                                                       ; +0x37, 0x10011a9d7\njnz     short loc_10011AA06                                            ; +0x3a, 0x10011a9da\ncall    sub_1007FE900                                                  ; +0x3c, 0x10011a9dc\nmov     r14, rax                                                       ; +0x41, 0x10011a9e1\nmov     rdi, [r15+0E08h]                                               ; +0x44, 0x10011a9e4\nmov     rsi, rax                                                       ; +0x4b, 0x10011a9eb\nmov     rdx, r12                                                       ; +0x4e, 0x10011a9ee\ncall    cocos2d__CCDictionary__setObject_1                             ; +0x51, 0x10011a9f1\nmov     rax, [r15+0E20h]                                               ; +0x56, 0x10011a9f6\nmov     [rax+r12*8], r14                                               ; +0x5d, 0x10011a9fd\ntest    r14, r14                                                       ; +0x61, 0x10011aa01\njz      short loc_10011AA13                                            ; +0x64, 0x10011aa04\nmov     rdi, r14                                                       ; +0x66, 0x10011aa06\ncall    sub_1007FEF90                                                  ; +0x69, 0x10011aa09\ncmp     eax, 1                                                         ; +0x6e, 0x10011aa0e\njz      short loc_10011AA36                                            ; +0x71, 0x10011aa11\nmov     rdi, [r15+0E68h]                                               ; +0x73, 0x10011aa13\nmovsxd  rsi, ebx                                                       ; +0x7a, 0x10011aa1a\ncall    cocos2d__CCDictionary__objectForKey_1                          ; +0x7d, 0x10011aa1d\ntest    rax, rax                                                       ; +0x82, 0x10011aa22\njz      short loc_10011AA48                                            ; +0x85, 0x10011aa25\nmov     r14, rax                                                       ; +0x87, 0x10011aa27\nmov     rdi, rax                                                       ; +0x8a, 0x10011aa2a\ncall    sub_1007FEF90                                                  ; +0x8d, 0x10011aa2d\ntest    eax, eax                                                       ; +0x92, 0x10011aa32\njz      short loc_10011AA48                                            ; +0x94, 0x10011aa34\nmov     rdi, r14                                                       ; +0x96, 0x10011aa36\nxor     esi, esi                                                       ; +0x99, 0x10011aa39\npop     rbx                                                            ; +0x9b, 0x10011aa3b\npop     r12                                                            ; +0x9c, 0x10011aa3c\npop     r14                                                            ; +0x9e, 0x10011aa3e\npop     r15                                                            ; +0xa0, 0x10011aa40\npop     rbp                                                            ; +0xa2, 0x10011aa42\njmp     sub_1007FEFE0                                                  ; +0xa3, 0x10011aa43\nxor     eax, eax                                                       ; +0xa8, 0x10011aa48\npop     rbx                                                            ; +0xaa, 0x10011aa4a\npop     r12                                                            ; +0xab, 0x10011aa4b\npop     r14                                                            ; +0xad, 0x10011aa4d\npop     r15                                                            ; +0xaf, 0x10011aa4f\npop     rbp                                                            ; +0xb1, 0x10011aa51\nretn                                                                   ; +0xb2, 0x10011aa52", "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"}