{"type": "func", "start": 6443161168, "end": 6443161224, "name": "cocos2d::CCTMXLayer::tileGIDAt", "pseudocode": "// \n// cocos2d::CCTMXLayer::tileGIDAt from 0x1800ad650 to 0x1800ad688 (56 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1801438a8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n__int64 __fastcall cocos2d::CCTMXLayer::tileGIDAt(\n        cocos2d::CCTMXLayer *this,\n        const struct cocos2d::CCPoint *a2,\n        enum cocos2d::ccTMXTileFlags_ *a3)\n{\n  int v3; // eax\n\n  v3 = *(_DWORD *)(*((_QWORD *)this + 47) + 4LL * (int)(float)((float)(*((float *)this + 90) * a2->y) + a2->x));\n  if ( a3 )\n    *(_DWORD *)a3 = v3 & 0xE0000000;\n  return v3 & 0x1FFFFFFF;\n}", "assembly": "; \n; cocos2d::CCTMXLayer::tileGIDAt from 0x1800ad650 to 0x1800ad688 (56 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1801438a8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmovss   xmm0, dword ptr [rcx+168h]                                     ; +0x0, 0x1800ad650\nmulss   xmm0, dword ptr [rdx+4]                                        ; +0x8, 0x1800ad658\naddss   xmm0, dword ptr [rdx]                                          ; +0xd, 0x1800ad65d\ncvttss2si eax, xmm0                                                    ; +0x11, 0x1800ad661\nmovsxd  rdx, eax                                                       ; +0x15, 0x1800ad665\nmov     rax, [rcx+178h]                                                ; +0x18, 0x1800ad668\nmov     eax, [rax+rdx*4]                                               ; +0x1f, 0x1800ad66f\ntest    r8, r8                                                         ; +0x22, 0x1800ad672\njz      short loc_1800AD682                                            ; +0x25, 0x1800ad675\nmov     ecx, eax                                                       ; +0x27, 0x1800ad677\nand     ecx, 0E0000000h                                                ; +0x29, 0x1800ad679\nmov     [r8], ecx                                                      ; +0x2f, 0x1800ad67f\nand     eax, 1FFFFFFFh                                                 ; +0x32, 0x1800ad682\nretn                                                                   ; +0x37, 0x1800ad687", "xrefs": ["<???> @ 0x1801438a8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}