{"type": "func", "start": 4298559312, "end": 4298559379, "name": "GameManager::getMGTexture", "pseudocode": "// \n// GameManager::getMGTexture from 0x10036cf50 to 0x10036cf93 (67 bytes)\n// \n// 1 xrefs:\n// > GJMGLayer::init @ 0x1006bee69\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::getMGTexture(__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 >= 3 )\n    v3 = 3;\n  if ( v3 < 2 )\n    v3 = 1;\n  GameManager::loadMiddleground(a1, v3);\n  v4 = sub_10088E820(\"fg_%02d_001.png\", v6);\n  return cocos2d::CCString::getCString(v4);\n}", "assembly": "; \n; GameManager::getMGTexture from 0x10036cf50 to 0x10036cf93 (67 bytes)\n; \n; 1 xrefs:\n; > GJMGLayer::init @ 0x1006bee69\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, 0x10036cf50\nmov     rbp, rsp                                                       ; +0x1, 0x10036cf51\npush    rbx                                                            ; +0x4, 0x10036cf54\npush    rax; char                                                      ; +0x5, 0x10036cf55\nmov     ebx, esi                                                       ; +0x6, 0x10036cf56\ncmp     esi, 3                                                         ; +0x8, 0x10036cf58\nmov     eax, 3                                                         ; +0xb, 0x10036cf5b\ncmovge  ebx, eax                                                       ; +0x10, 0x10036cf60\ncmp     ebx, 2                                                         ; +0x13, 0x10036cf63\nmov     eax, 1                                                         ; +0x16, 0x10036cf66\ncmovl   ebx, eax                                                       ; +0x1b, 0x10036cf6b\nmov     esi, ebx                                                       ; +0x1e, 0x10036cf6e\ncall    GameManager__loadMiddleground                                  ; +0x20, 0x10036cf70\nlea     rdi, aFg02d001Png; \"fg_%02d_001.png\"                           ; +0x25, 0x10036cf75\nmov     esi, ebx                                                       ; +0x2c, 0x10036cf7c\nxor     eax, eax                                                       ; +0x2e, 0x10036cf7e\ncall    sub_10088E820                                                  ; +0x30, 0x10036cf80\nmov     rdi, rax                                                       ; +0x35, 0x10036cf85\nadd     rsp, 8                                                         ; +0x38, 0x10036cf88\npop     rbx                                                            ; +0x3c, 0x10036cf8c\npop     rbp                                                            ; +0x3d, 0x10036cf8d\njmp     cocos2d__CCString__getCString                                  ; +0x3e, 0x10036cf8e", "xrefs": ["GJMGLayer::init @ 0x1006bee69"], "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"}