{"type": "func", "start": 4296123856, "end": 4296123957, "name": "GJBaseGameLayer::getStaticGroup", "pseudocode": "// \n// GJBaseGameLayer::getStaticGroup from 0x10011a5d0 to 0x10011a635 (101 bytes)\n// \n// 1 xrefs:\n// > PlayLayer::addToGroupOld @ 0x1000846b6\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::getStaticGroup(__int64 a1, int a2)\n{\n  int v2; // eax\n  __int64 v3; // rbx\n  __int64 result; // rax\n  __int64 v5; // r15\n\n  v2 = 9999;\n  if ( a2 < 9999 )\n    v2 = a2;\n  v3 = 0;\n  if ( v2 > 0 )\n    v3 = (unsigned int)v2;\n  result = *(_QWORD *)(*(_QWORD *)(a1 + 3640) + 8 * v3);\n  if ( !result )\n  {\n    v5 = sub_1007FE900(a1);\n    cocos2d::CCDictionary::setObject_1(*(_QWORD *)(a1 + 3600), v5, v3);\n    *(_QWORD *)(*(_QWORD *)(a1 + 3640) + 8 * v3) = v5;\n    return v5;\n  }\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::getStaticGroup from 0x10011a5d0 to 0x10011a635 (101 bytes)\n; \n; 1 xrefs:\n; > PlayLayer::addToGroupOld @ 0x1000846b6\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, 0x10011a5d0\nmov     rbp, rsp                                                       ; +0x1, 0x10011a5d1\npush    r15                                                            ; +0x4, 0x10011a5d4\npush    r14                                                            ; +0x6, 0x10011a5d6\npush    rbx                                                            ; +0x8, 0x10011a5d8\npush    rax                                                            ; +0x9, 0x10011a5d9\ncmp     esi, 270Fh                                                     ; +0xa, 0x10011a5da\nmov     eax, 270Fh                                                     ; +0x10, 0x10011a5e0\ncmovl   eax, esi                                                       ; +0x15, 0x10011a5e5\nxor     ebx, ebx                                                       ; +0x18, 0x10011a5e8\ntest    eax, eax                                                       ; +0x1a, 0x10011a5ea\ncmovg   ebx, eax                                                       ; +0x1c, 0x10011a5ec\nmov     rax, [rdi+0E38h]                                               ; +0x1f, 0x10011a5ef\nmov     rax, [rax+rbx*8]                                               ; +0x26, 0x10011a5f6\ntest    rax, rax                                                       ; +0x2a, 0x10011a5fa\njnz     short loc_10011A62A                                            ; +0x2d, 0x10011a5fd\nmov     r14, rdi                                                       ; +0x2f, 0x10011a5ff\ncall    sub_1007FE900                                                  ; +0x32, 0x10011a602\nmov     r15, rax                                                       ; +0x37, 0x10011a607\nmov     rdi, [r14+0E10h]                                               ; +0x3a, 0x10011a60a\nmov     rsi, rax                                                       ; +0x41, 0x10011a611\nmov     rdx, rbx                                                       ; +0x44, 0x10011a614\ncall    cocos2d__CCDictionary__setObject_1                             ; +0x47, 0x10011a617\nmov     rax, r15                                                       ; +0x4c, 0x10011a61c\nmov     rcx, [r14+0E38h]                                               ; +0x4f, 0x10011a61f\nmov     [rcx+rbx*8], r15                                               ; +0x56, 0x10011a626\nadd     rsp, 8                                                         ; +0x5a, 0x10011a62a\npop     rbx                                                            ; +0x5e, 0x10011a62e\npop     r14                                                            ; +0x5f, 0x10011a62f\npop     r15                                                            ; +0x61, 0x10011a631\npop     rbp                                                            ; +0x63, 0x10011a633\nretn                                                                   ; +0x64, 0x10011a634", "xrefs": ["PlayLayer::addToGroupOld @ 0x1000846b6"], "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"}