{"type": "func", "start": 6443167152, "end": 6443167218, "name": "cocos2d::CCTileMapAtlas::tileAt", "pseudocode": "// \n// cocos2d::CCTileMapAtlas::tileAt from 0x1800aedb0 to 0x1800aedf2 (66 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c2334\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 11:22:18 +0000\n// \n\n__int64 __fastcall cocos2d::CCTileMapAtlas::tileAt(__int64 a1, __int64 a2, float *a3)\n{\n  __int64 v3; // r8\n  __int64 v4; // rcx\n\n  v3 = 3LL * (unsigned int)(int)(float)((float)((float)*(__int16 *)(*(_QWORD *)(a1 + 408) + 6LL) * a3[1]) + *a3);\n  v4 = *(_QWORD *)(*(_QWORD *)(a1 + 408) + 16LL);\n  *(_WORD *)a2 = *(_WORD *)(v3 + v4);\n  *(_BYTE *)(a2 + 2) = *(_BYTE *)(v3 + v4 + 2);\n  return a2;\n}", "assembly": "; \n; cocos2d::CCTileMapAtlas::tileAt from 0x1800aedb0 to 0x1800aedf2 (66 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c2334\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 11:22:18 +0000\n; \nmov     r9, [rcx+198h]                                                 ; +0x0, 0x1800aedb0\nmovsx   eax, word ptr [r9+6]                                           ; +0x7, 0x1800aedb7\nmovd    xmm0, eax                                                      ; +0xc, 0x1800aedbc\ncvtdq2ps xmm0, xmm0                                                    ; +0x10, 0x1800aedc0\nmulss   xmm0, dword ptr [r8+4]                                         ; +0x13, 0x1800aedc3\naddss   xmm0, dword ptr [r8]                                           ; +0x19, 0x1800aedc9\ncvttss2si rcx, xmm0                                                    ; +0x1e, 0x1800aedce\nmov     ecx, ecx                                                       ; +0x23, 0x1800aedd3\nlea     r8, [rcx+rcx*2]                                                ; +0x25, 0x1800aedd5\nmov     rcx, [r9+10h]                                                  ; +0x29, 0x1800aedd9\nmovzx   eax, word ptr [r8+rcx]                                         ; +0x2d, 0x1800aeddd\nmov     [rdx], ax                                                      ; +0x32, 0x1800aede2\nmovzx   eax, byte ptr [r8+rcx+2]                                       ; +0x35, 0x1800aede5\nmov     [rdx+2], al                                                    ; +0x3b, 0x1800aedeb\nmov     rax, rdx                                                       ; +0x3e, 0x1800aedee\nretn                                                                   ; +0x41, 0x1800aedf1", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801c2334"], "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"}