{"type": "func", "start": 4846726, "end": 4846782, "name": "EditLevelLayer::onEmotes", "pseudocode": "// \n// EditLevelLayer::onEmotes from 0x49f486 to 0x49f4be (56 bytes)\n// \n// 0 xrefs:\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:49:48 +0000\n// \n\nint __fastcall EditLevelLayer::onEmotes(EditLevelLayer *this, cocos2d::CCObject *a2)\n{\n  EmoteSprite *v3; // r0\n  int v4; // r7\n  cocos2d::CCNode *v5; // r6\n  int v6; // r5\n  int v7; // r0\n  int result; // r0\n\n  v3 = (EmoteSprite *)(*(int (__fastcall **)(EditLevelLayer *, int))(*(_DWORD *)this + 240))(this, 2);\n  v4 = *((_DWORD *)this + 98);\n  v5 = *((cocos2d::CCNode **)this + 97);\n  v6 = (int)v3;\n  v7 = EmoteSprite::maxEmotesComment(v3);\n  result = EmotePickerPopup::toggle(v4, (int)this + 340, v5, v6, v7, 180);\n  *((_DWORD *)this + 98) = result;\n  return result;\n}", "assembly": "; \n; EditLevelLayer::onEmotes from 0x49f486 to 0x49f4be (56 bytes)\n; \n; 0 xrefs:\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:49:48 +0000\n; \nPUSH            {R0-R2,R4-R7,LR}                                       ; +0x0, 0x49f486\nMOVS            R1, #2                                                 ; +0x2, 0x49f488\nLDR             R3, [R0]                                               ; +0x4, 0x49f48a\nMOV             R4, R0                                                 ; +0x6, 0x49f48c\nLDR.W           R3, [R3,#0xF0]                                         ; +0x8, 0x49f48e\nBLX             R3                                                     ; +0xc, 0x49f492\nLDR.W           R7, [R4,#0x188]                                        ; +0xe, 0x49f494\nLDR.W           R6, [R4,#0x184]                                        ; +0x12, 0x49f498\nMOV             R5, R0                                                 ; +0x16, 0x49f49c\nBL              _ZN11EmoteSprite16maxEmotesCommentEv; EmoteSprite::maxEmotesComment(void) ; +0x18, 0x49f49e\nMOVS            R3, #0xB4                                              ; +0x1c, 0x49f4a2\nADD.W           R1, R4, #0x154; int                                    ; +0x1e, 0x49f4a4\nSTR             R3, [SP,#0xC+var_8]; int                               ; +0x22, 0x49f4a8\nMOV             R2, R6; cocos2d::CCNode *                              ; +0x24, 0x49f4aa\nMOV             R3, R5; int                                            ; +0x26, 0x49f4ac\nSTR             R0, [SP,#0xC+var_C]; int                               ; +0x28, 0x49f4ae\nMOV             R0, R7; int                                            ; +0x2a, 0x49f4b0\nBL              _ZN16EmotePickerPopup6toggleEPS_P19EmotePickerDelegatePN7cocos2d6CCNodeEP15CCTextInputNodeii; EmotePickerPopup::toggle(EmotePickerPopup*,EmotePickerDelegate *,cocos2d::CCNode *,CCTextInputNode *,int,int) ; +0x2c, 0x49f4b2\nSTR.W           R0, [R4,#0x188]                                        ; +0x30, 0x49f4b6\nADD             SP, SP, #0xC                                           ; +0x34, 0x49f4ba\nPOP             {R4-R7,PC}                                             ; +0x36, 0x49f4bc", "xrefs": [], "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"}