{"type": "func", "start": 4298559392, "end": 4298559459, "name": "GameManager::getGTexture", "pseudocode": "// \n// GameManager::getGTexture from 0x10036cfa0 to 0x10036cfe3 (67 bytes)\n// \n// 1 xrefs:\n// > GJGroundLayer::init @ 0x1006bdb7d\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:29:01 +0000\n// \n\n__int64 __fastcall GameManager::getGTexture(__int64 a1, int a2)\n{\n  char v2; // al\n  int v3; // ebx\n  __int64 v4; // rax\n  char v6; // [rsp-8h] [rbp-10h]\n\n  v6 = v2;\n  v3 = a2;\n  if ( a2 >= 22 )\n    v3 = 22;\n  if ( v3 < 2 )\n    v3 = 1;\n  GameManager::loadGround(a1, v3);\n  v4 = sub_10088E820(\"groundSquare_%02d_001.png\", v6);\n  return cocos2d::CCString::getCString(v4);\n}", "assembly": "; \n; GameManager::getGTexture from 0x10036cfa0 to 0x10036cfe3 (67 bytes)\n; \n; 1 xrefs:\n; > GJGroundLayer::init @ 0x1006bdb7d\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:29:01 +0000\n; \npush    rbp                                                            ; +0x0, 0x10036cfa0\nmov     rbp, rsp                                                       ; +0x1, 0x10036cfa1\npush    rbx                                                            ; +0x4, 0x10036cfa4\npush    rax; char                                                      ; +0x5, 0x10036cfa5\nmov     ebx, esi                                                       ; +0x6, 0x10036cfa6\ncmp     esi, 16h                                                       ; +0x8, 0x10036cfa8\nmov     eax, 16h                                                       ; +0xb, 0x10036cfab\ncmovge  ebx, eax                                                       ; +0x10, 0x10036cfb0\ncmp     ebx, 2                                                         ; +0x13, 0x10036cfb3\nmov     eax, 1                                                         ; +0x16, 0x10036cfb6\ncmovl   ebx, eax                                                       ; +0x1b, 0x10036cfbb\nmov     esi, ebx                                                       ; +0x1e, 0x10036cfbe\ncall    GameManager__loadGround                                        ; +0x20, 0x10036cfc0\nlea     rdi, aGroundsquare02; \"groundSquare_%02d_001.png\"              ; +0x25, 0x10036cfc5\nmov     esi, ebx                                                       ; +0x2c, 0x10036cfcc\nxor     eax, eax                                                       ; +0x2e, 0x10036cfce\ncall    sub_10088E820                                                  ; +0x30, 0x10036cfd0\nmov     rdi, rax                                                       ; +0x35, 0x10036cfd5\nadd     rsp, 8                                                         ; +0x38, 0x10036cfd8\npop     rbx                                                            ; +0x3c, 0x10036cfdc\npop     rbp                                                            ; +0x3d, 0x10036cfdd\njmp     cocos2d__CCString__getCString                                  ; +0x3e, 0x10036cfde", "xrefs": ["GJGroundLayer::init @ 0x1006bdb7d"], "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"}