{"type": "func", "start": 3651952, "end": 3652120, "name": "EditorUI::onGroupIDFilter", "pseudocode": "// \n// EditorUI::onGroupIDFilter from 0x37b970 to 0x37ba18 (168 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid EditorUI::onGroupIDFilter(EditorUI *a1, cocos2d::CCObject *a2)\n{\n  GameManager *v3; // r0\n  int IntGameVariable; // r4\n  _DWORD *v5; // r4\n  _BYTE v6[4]; // [sp+24h] [bp-Ch] BYREF\n  _BYTE v7[4]; // [sp+28h] [bp-8h] BYREF\n\n  v3 = GameManager::sharedState();\n  IntGameVariable = GameManager::getIntGameVariable(v3, \"0133\");\n  sub_776584((int)v6, \"GroupID Filter\");\n  sub_776584((int)v7, \"OK\");\n  v5 = (_DWORD *)SetIDPopup::create(IntGameVariable, 0, 9999, (int)v6, (int)v7, 1, 0, 0.0, 1, 0);\n  sub_774008(v7);\n  sub_774008(v6);\n  (*(void (__fastcall **)(_DWORD *, int))(*v5 + 36))(v5, 1);\n  v5[131] = &a1->SetIDPopupDelegate;\n  (*(void (__fastcall **)(_DWORD *))(*v5 + 644))(v5);\n}", "assembly": "; \n; EditorUI::onGroupIDFilter from 0x37b970 to 0x37ba18 (168 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH.W          {R4-R8,LR}                                             ; +0x0, 0x37b970\nSUB             SP, SP, #0x30                                          ; +0x4, 0x37b974\nLDR             R7, =(__stack_chk_guard_ptr - 0x37B982)                ; +0x6, 0x37b976\nMOV             R8, R0                                                 ; +0x8, 0x37b978\nADD             R5, SP, #0x30+var_C                                    ; +0xa, 0x37b97a\nADD             R6, SP, #0x30+var_8                                    ; +0xc, 0x37b97c\nADD             R7, PC; __stack_chk_guard_ptr                          ; +0xe, 0x37b97e\nLDR             R7, [R7]; __stack_chk_guard                            ; +0x10, 0x37b980\nLDR             R3, [R7]                                               ; +0x12, 0x37b982\nSTR             R3, [SP,#0x30+var_4]                                   ; +0x14, 0x37b984\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x16, 0x37b986\nLDR             R1, =(a0133 - 0x37B990); \"0133\"                        ; +0x1a, 0x37b98a\nADD             R1, PC; \"0133\"                                         ; +0x1c, 0x37b98c\nBL              _ZN11GameManager18getIntGameVariableEPKc; GameManager::getIntGameVariable(char const*) ; +0x1e, 0x37b98e\nLDR             R1, =(aGroupidFilter - 0x37B99A); \"GroupID Filter\"     ; +0x22, 0x37b992\nADD             R2, SP, #0x30+var_14                                   ; +0x24, 0x37b994\nADD             R1, PC; \"GroupID Filter\"                               ; +0x26, 0x37b996\nMOV             R4, R0                                                 ; +0x28, 0x37b998\nMOV             R0, R5; int                                            ; +0x2a, 0x37b99a\nBL              sub_776584                                             ; +0x2c, 0x37b99c\nLDR             R1, =(aOk - 0x37B9AA); \"OK\"                            ; +0x30, 0x37b9a0\nMOV             R0, R6; int                                            ; +0x32, 0x37b9a2\nADD             R2, SP, #0x30+var_10                                   ; +0x34, 0x37b9a4\nADD             R1, PC; \"OK\"                                           ; +0x36, 0x37b9a6\nBL              sub_776584                                             ; +0x38, 0x37b9a8\nMOVS            R3, #1                                                 ; +0x3c, 0x37b9ac\nMOVS            R1, #0; int                                            ; +0x3e, 0x37b9ae\nMOVS            R2, #0                                                 ; +0x40, 0x37b9b0\nSTR             R3, [SP,#0x30+var_2C]; char                            ; +0x42, 0x37b9b2\nSTR             R2, [SP,#0x30+var_24]; float                           ; +0x44, 0x37b9b4\nMOV             R0, R4; int                                            ; +0x46, 0x37b9b6\nSTR             R3, [SP,#0x30+var_20]; char                            ; +0x48, 0x37b9b8\nMOVW            R2, #0x270F; int                                       ; +0x4a, 0x37b9ba\nSTR             R6, [SP,#0x30+var_30]; int                             ; +0x4e, 0x37b9be\nMOV             R3, R5; int                                            ; +0x50, 0x37b9c0\nSTR             R1, [SP,#0x30+var_28]; int                             ; +0x52, 0x37b9c2\nSTR             R1, [SP,#0x30+var_1C]; char                            ; +0x54, 0x37b9c4\nBL              _ZN10SetIDPopup6createEiiiSsSsbifbb; SetIDPopup::create(int,int,int,std::string,std::string,bool,int,float,bool,bool) ; +0x56, 0x37b9c6\nMOV             R4, R0                                                 ; +0x5a, 0x37b9ca\nMOV             R0, R6                                                 ; +0x5c, 0x37b9cc\nBL              sub_774008                                             ; +0x5e, 0x37b9ce\nMOV             R0, R5                                                 ; +0x62, 0x37b9d2\nBL              sub_774008                                             ; +0x64, 0x37b9d4\nLDR             R3, [R4]                                               ; +0x68, 0x37b9d8\nMOV             R0, R4                                                 ; +0x6a, 0x37b9da\nMOVS            R1, #1                                                 ; +0x6c, 0x37b9dc\nLDR             R3, [R3,#0x24]                                         ; +0x6e, 0x37b9de\nBLX             R3                                                     ; +0x70, 0x37b9e0\nADD.W           R3, R8, #0x154                                         ; +0x72, 0x37b9e2\nSTR.W           R3, [R4,#0x20C]                                        ; +0x76, 0x37b9e6\nMOV             R0, R4                                                 ; +0x7a, 0x37b9ea\nLDR             R3, [R4]                                               ; +0x7c, 0x37b9ec\nLDR.W           R3, [R3,#0x284]                                        ; +0x7e, 0x37b9ee\nBLX             R3                                                     ; +0x82, 0x37b9f2\nLDR             R2, [SP,#0x30+var_4]                                   ; +0x84, 0x37b9f4\nLDR             R3, [R7]                                               ; +0x86, 0x37b9f6\nCMP             R2, R3                                                 ; +0x88, 0x37b9f8\nBEQ             loc_37BA12                                             ; +0x8a, 0x37b9fa\nBLX             __stack_chk_fail                                       ; +0x8c, 0x37b9fc\nMOV             R0, R6                                                 ; +0x90, 0x37ba00\nBL              sub_774008                                             ; +0x92, 0x37ba02\nB               loc_37BA08                                             ; +0x96, 0x37ba06\nMOV             R0, R5                                                 ; +0x98, 0x37ba08\nBL              sub_774008                                             ; +0x9a, 0x37ba0a\nBL              __cxa_end_cleanup                                      ; +0x9e, 0x37ba0e\nADD             SP, SP, #0x30 ; '0'                                    ; +0xa2, 0x37ba12\nPOP.W           {R4-R8,PC}                                             ; +0xa4, 0x37ba14", "xrefs": [], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}