{"type": "func", "start": 4304421840, "end": 4304421917, "name": "EmoteSprite::defAtIndex", "pseudocode": "// \n// EmoteSprite::defAtIndex from 0x1009043d0 to 0x10090441d (77 bytes)\n// \n// 4 xrefs:\n// > EmotePickerPopup::onBuildWindowContent @ 0x1009031bc\n// > EmotePickerPopup::onBuildWindowContent @ 0x100903310\n// > EmotePickerPopup::layoutEmoteGrid @ 0x1009036d4\n// > EmotePickerPopup::onPickEmote @ 0x1009037f5\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:38:04 +0000\n// \n\n__int64 __fastcall EmoteSprite::defAtIndex(int a1)\n{\n  ensureEmotesAreLoaded();\n  if ( a1 < 0 || (int)(-1431655765 * ((*((_QWORD *)&xmmword_100BE7318 + 1) - (_QWORD)xmmword_100BE7318) >> 4)) <= a1 )\n    return 0;\n  else\n    return 48LL * (unsigned int)a1 + xmmword_100BE7318;\n}", "assembly": "; \n; EmoteSprite::defAtIndex from 0x1009043d0 to 0x10090441d (77 bytes)\n; \n; 4 xrefs:\n; > EmotePickerPopup::onBuildWindowContent @ 0x1009031bc\n; > EmotePickerPopup::onBuildWindowContent @ 0x100903310\n; > EmotePickerPopup::layoutEmoteGrid @ 0x1009036d4\n; > EmotePickerPopup::onPickEmote @ 0x1009037f5\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:38:04 +0000\n; \npush    rbp                                                            ; +0x0, 0x1009043d0\nmov     rbp, rsp                                                       ; +0x1, 0x1009043d1\npush    rbx                                                            ; +0x4, 0x1009043d4\npush    rax                                                            ; +0x5, 0x1009043d5\nmov     ebx, edi                                                       ; +0x6, 0x1009043d6\ncall    ensureEmotesAreLoaded                                          ; +0x8, 0x1009043d8\ntest    ebx, ebx                                                       ; +0xd, 0x1009043dd\njs      short loc_100904414                                            ; +0xf, 0x1009043df\nmov     rcx, qword ptr cs:xmmword_100BE7318+8                          ; +0x11, 0x1009043e1\nmov     rax, qword ptr cs:xmmword_100BE7318                            ; +0x18, 0x1009043e8\nsub     rcx, rax                                                       ; +0x1f, 0x1009043ef\nshr     rcx, 4                                                         ; +0x22, 0x1009043f2\nimul    ecx, 0AAAAAAABh                                                ; +0x26, 0x1009043f6\ncmp     ecx, ebx                                                       ; +0x2c, 0x1009043fc\njle     short loc_100904414                                            ; +0x2e, 0x1009043fe\nmov     ecx, ebx                                                       ; +0x30, 0x100904400\nlea     rcx, [rcx+rcx*2]                                               ; +0x32, 0x100904402\nshl     rcx, 4                                                         ; +0x36, 0x100904406\nadd     rax, rcx                                                       ; +0x3a, 0x10090440a\nadd     rsp, 8                                                         ; +0x3d, 0x10090440d\npop     rbx                                                            ; +0x41, 0x100904411\npop     rbp                                                            ; +0x42, 0x100904412\nretn                                                                   ; +0x43, 0x100904413\nxor     eax, eax                                                       ; +0x44, 0x100904414\nadd     rsp, 8                                                         ; +0x46, 0x100904416\npop     rbx                                                            ; +0x4a, 0x10090441a\npop     rbp                                                            ; +0x4b, 0x10090441b\nretn                                                                   ; +0x4c, 0x10090441c", "xrefs": ["EmotePickerPopup::onBuildWindowContent @ 0x1009031bc", "EmotePickerPopup::onBuildWindowContent @ 0x100903310", "EmotePickerPopup::layoutEmoteGrid @ 0x1009036d4", "EmotePickerPopup::onPickEmote @ 0x1009037f5"], "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"}