{"type": "func", "start": 5372706656, "end": 5372706743, "name": "InfoLayer::getID", "pseudocode": "// \n// InfoLayer::getID from 0x1403cff60 to 0x1403cffb7 (87 bytes)\n// \n// 12 xrefs:\n// > InfoLayer::init @ 0x1403cfa0a\n// > InfoLayer::onRefreshComments @ 0x1403d0428\n// > InfoLayer::onCopyLevelID @ 0x1403d052d\n// > InfoLayer::onComment @ 0x1403d09f6\n// > InfoLayer::onComment @ 0x1403d0c86\n// > InfoLayer::loadPage @ 0x1403d162d\n// > InfoLayer::loadPage @ 0x1403d1a3c\n// > InfoLayer::updateUserScoreFinished @ 0x1403d22da\n// > InfoLayer::commentUploadFinished @ 0x1403d2384\n// > InfoLayer::commentUploadFailed @ 0x1403d243f\n// > InfoLayer::toggleSmallCommentMode @ 0x1403d263b\n// > InfoLayer::toggleSmallCommentMode @ 0x1403d269e\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:31:34 +0000\n// \n\n__int64 __fastcall InfoLayer::getID(_QWORD *a1)\n{\n  __int64 v1; // rax\n  __int64 v3; // rax\n  __int64 v4; // rax\n  __int64 v5; // rdx\n\n  v1 = a1[88];\n  if ( v1 )\n    return *(unsigned int *)(v1 + 388);\n  v3 = a1[89];\n  if ( v3 )\n    return (unsigned int)-*(_DWORD *)(v3 + 344);\n  v4 = a1[90];\n  if ( v4 )\n    return *(unsigned int *)(v4 + 320);\n  v5 = a1[87];\n  if ( v5 )\n    return (unsigned int)(*(_DWORD *)(v5 + 328) - *(_DWORD *)(v5 + 332));\n  else\n    return 0;\n}", "assembly": "; \n; InfoLayer::getID from 0x1403cff60 to 0x1403cffb7 (87 bytes)\n; \n; 12 xrefs:\n; > InfoLayer::init @ 0x1403cfa0a\n; > InfoLayer::onRefreshComments @ 0x1403d0428\n; > InfoLayer::onCopyLevelID @ 0x1403d052d\n; > InfoLayer::onComment @ 0x1403d09f6\n; > InfoLayer::onComment @ 0x1403d0c86\n; > InfoLayer::loadPage @ 0x1403d162d\n; > InfoLayer::loadPage @ 0x1403d1a3c\n; > InfoLayer::updateUserScoreFinished @ 0x1403d22da\n; > InfoLayer::commentUploadFinished @ 0x1403d2384\n; > InfoLayer::commentUploadFailed @ 0x1403d243f\n; > InfoLayer::toggleSmallCommentMode @ 0x1403d263b\n; > InfoLayer::toggleSmallCommentMode @ 0x1403d269e\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:31:34 +0000\n; \nmov     rax, [rcx+2C0h]                                                ; +0x0, 0x1403cff60\ntest    rax, rax                                                       ; +0x7, 0x1403cff67\njz      short loc_1403CFF73                                            ; +0xa, 0x1403cff6a\nmov     eax, [rax+184h]                                                ; +0xc, 0x1403cff6c\nretn                                                                   ; +0x12, 0x1403cff72\nmov     rax, [rcx+2C8h]                                                ; +0x13, 0x1403cff73\ntest    rax, rax                                                       ; +0x1a, 0x1403cff7a\njz      short loc_1403CFF88                                            ; +0x1d, 0x1403cff7d\nmov     eax, [rax+158h]                                                ; +0x1f, 0x1403cff7f\nneg     eax                                                            ; +0x25, 0x1403cff85\nretn                                                                   ; +0x27, 0x1403cff87\nmov     rax, [rcx+2D0h]                                                ; +0x28, 0x1403cff88\ntest    rax, rax                                                       ; +0x2f, 0x1403cff8f\njz      short loc_1403CFF9B                                            ; +0x32, 0x1403cff92\nmov     eax, [rax+140h]                                                ; +0x34, 0x1403cff94\nretn                                                                   ; +0x3a, 0x1403cff9a\nmov     rdx, [rcx+2B8h]                                                ; +0x3b, 0x1403cff9b\ntest    rdx, rdx                                                       ; +0x42, 0x1403cffa2\njz      short loc_1403CFFB4                                            ; +0x45, 0x1403cffa5\nmov     eax, [rdx+148h]                                                ; +0x47, 0x1403cffa7\nsub     eax, [rdx+14Ch]                                                ; +0x4d, 0x1403cffad\nretn                                                                   ; +0x53, 0x1403cffb3\nxor     eax, eax                                                       ; +0x54, 0x1403cffb4\nretn                                                                   ; +0x56, 0x1403cffb6", "xrefs": ["InfoLayer::init @ 0x1403cfa0a", "InfoLayer::onRefreshComments @ 0x1403d0428", "InfoLayer::onCopyLevelID @ 0x1403d052d", "InfoLayer::onComment @ 0x1403d09f6", "InfoLayer::onComment @ 0x1403d0c86", "InfoLayer::loadPage @ 0x1403d162d", "InfoLayer::loadPage @ 0x1403d1a3c", "InfoLayer::updateUserScoreFinished @ 0x1403d22da", "InfoLayer::commentUploadFinished @ 0x1403d2384", "InfoLayer::commentUploadFailed @ 0x1403d243f", "InfoLayer::toggleSmallCommentMode @ 0x1403d263b", "InfoLayer::toggleSmallCommentMode @ 0x1403d269e"], "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"}