{"type": "func", "start": 4296022816, "end": 4296022953, "name": "GJBaseGameLayer::getSingleGroupObject", "pseudocode": "// \n// GJBaseGameLayer::getSingleGroupObject from 0x100101b20 to 0x100101ba9 (137 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:21:21 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::getSingleGroupObject(__int64 a1, int a2)\n{\n  __int64 v2; // r14\n  __int64 v3; // rbx\n\n  if ( a2 <= 0 )\n    return 0;\n  v2 = 9999;\n  if ( (unsigned int)a2 < 0x270F )\n    v2 = (unsigned int)a2;\n  if ( ((v3 = *(_QWORD *)(*(_QWORD *)(a1 + 3616) + 8 * v2)) != 0\n     || (v3 = sub_1007FE900(a1),\n         cocos2d::CCDictionary::setObject_1(*(_QWORD *)(a1 + 3592), v3, v2),\n         (*(_QWORD *)(*(_QWORD *)(a1 + 3616) + 8 * v2) = v3) != 0))\n    && (unsigned int)sub_1007FEF90(v3) == 1 )\n  {\n    return sub_1007FEFE0(v3, 0);\n  }\n  else\n  {\n    return 0;\n  }\n}", "assembly": "; \n; GJBaseGameLayer::getSingleGroupObject from 0x100101b20 to 0x100101ba9 (137 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:21:21 +0000\n; \npush    rbp                                                            ; +0x0, 0x100101b20\nmov     rbp, rsp                                                       ; +0x1, 0x100101b21\npush    r15                                                            ; +0x4, 0x100101b24\npush    r14                                                            ; +0x6, 0x100101b26\npush    rbx                                                            ; +0x8, 0x100101b28\npush    rax                                                            ; +0x9, 0x100101b29\ntest    esi, esi                                                       ; +0xa, 0x100101b2a\njle     short loc_100101B9C                                            ; +0xc, 0x100101b2c\ncmp     esi, 270Fh                                                     ; +0xe, 0x100101b2e\nmov     r14d, 270Fh                                                    ; +0x14, 0x100101b34\ncmovb   r14d, esi                                                      ; +0x1a, 0x100101b3a\nmov     rax, [rdi+0E20h]                                               ; +0x1e, 0x100101b3e\nmov     rbx, [rax+r14*8]                                               ; +0x25, 0x100101b45\ntest    rbx, rbx                                                       ; +0x29, 0x100101b49\njnz     short loc_100101B7B                                            ; +0x2c, 0x100101b4c\nmov     r15, rdi                                                       ; +0x2e, 0x100101b4e\ncall    sub_1007FE900                                                  ; +0x31, 0x100101b51\nmov     rbx, rax                                                       ; +0x36, 0x100101b56\nmov     rdi, [r15+0E08h]                                               ; +0x39, 0x100101b59\nmov     rsi, rax                                                       ; +0x40, 0x100101b60\nmov     rdx, r14                                                       ; +0x43, 0x100101b63\ncall    cocos2d__CCDictionary__setObject_1                             ; +0x46, 0x100101b66\nmov     rax, [r15+0E20h]                                               ; +0x4b, 0x100101b6b\nmov     [rax+r14*8], rbx                                               ; +0x52, 0x100101b72\ntest    rbx, rbx                                                       ; +0x56, 0x100101b76\njz      short loc_100101B9C                                            ; +0x59, 0x100101b79\nmov     rdi, rbx                                                       ; +0x5b, 0x100101b7b\ncall    sub_1007FEF90                                                  ; +0x5e, 0x100101b7e\ncmp     eax, 1                                                         ; +0x63, 0x100101b83\njnz     short loc_100101B9C                                            ; +0x66, 0x100101b86\nmov     rdi, rbx                                                       ; +0x68, 0x100101b88\nxor     esi, esi                                                       ; +0x6b, 0x100101b8b\nadd     rsp, 8                                                         ; +0x6d, 0x100101b8d\npop     rbx                                                            ; +0x71, 0x100101b91\npop     r14                                                            ; +0x72, 0x100101b92\npop     r15                                                            ; +0x74, 0x100101b94\npop     rbp                                                            ; +0x76, 0x100101b96\njmp     sub_1007FEFE0                                                  ; +0x77, 0x100101b97\nxor     eax, eax                                                       ; +0x7c, 0x100101b9c\nadd     rsp, 8                                                         ; +0x7e, 0x100101b9e\npop     rbx                                                            ; +0x82, 0x100101ba2\npop     r14                                                            ; +0x83, 0x100101ba3\npop     r15                                                            ; +0x85, 0x100101ba5\npop     rbp                                                            ; +0x87, 0x100101ba7\nretn                                                                   ; +0x88, 0x100101ba8", "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"}