{"type": "func", "start": 4145416, "end": 4145454, "name": "EmoteSprite::defAtIndex", "pseudocode": "// \n// EmoteSprite::defAtIndex from 0x3f4108 to 0x3f412e (38 bytes)\n// \n// 4 xrefs:\n// > EmotePickerPopup::layoutEmoteGrid @ 0x778f3a\n// > EmotePickerPopup::onPickEmote @ 0x779568\n// > EmotePickerPopup::onBuildWindowContent @ 0x77983e\n// > EmotePickerPopup::onBuildWindowContent @ 0x779890\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:47:16 +0000\n// \n\nint __fastcall EmoteSprite::defAtIndex(int this, int a2)\n{\n  sub_3F3CB4();\n  if ( this >= 0 && this < (dword_D2B534 - dword_D2B530) >> 5 )\n    return dword_D2B530 + 32 * this;\n  else\n    return 0;\n}", "assembly": "; \n; EmoteSprite::defAtIndex from 0x3f4108 to 0x3f412e (38 bytes)\n; \n; 4 xrefs:\n; > EmotePickerPopup::layoutEmoteGrid @ 0x778f3a\n; > EmotePickerPopup::onPickEmote @ 0x779568\n; > EmotePickerPopup::onBuildWindowContent @ 0x77983e\n; > EmotePickerPopup::onBuildWindowContent @ 0x779890\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:47:16 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x3f4108\nMOV             R4, R0                                                 ; +0x2, 0x3f410a\nBL              sub_3F3CB4                                             ; +0x4, 0x3f410c\nCMP             R4, #0                                                 ; +0x8, 0x3f4110\nBLT             loc_3F4124                                             ; +0xa, 0x3f4112\nLDR             R2, =(dword_D2B530 - 0x3F411A)                         ; +0xc, 0x3f4114\nADD             R2, PC; dword_D2B530                                   ; +0xe, 0x3f4116\nLDR             R3, [R2]                                               ; +0x10, 0x3f4118\nLDR             R2, [R2,#(dword_D2B534 - 0xD2B530)]                    ; +0x12, 0x3f411a\nSUBS            R2, R2, R3                                             ; +0x14, 0x3f411c\nCMP.W           R4, R2,ASR#5                                           ; +0x16, 0x3f411e\nBLT             loc_3F4128                                             ; +0x1a, 0x3f4122\nMOVS            R0, #0                                                 ; +0x1c, 0x3f4124\nPOP             {R4,PC}                                                ; +0x1e, 0x3f4126\nADD.W           R0, R3, R4,LSL#5                                       ; +0x20, 0x3f4128\nPOP             {R4,PC}                                                ; +0x24, 0x3f412c", "xrefs": ["EmotePickerPopup::layoutEmoteGrid @ 0x778f3a", "EmotePickerPopup::onPickEmote @ 0x779568", "EmotePickerPopup::onBuildWindowContent @ 0x77983e", "EmotePickerPopup::onBuildWindowContent @ 0x779890"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "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"}