{"type": "func", "start": 4742024, "end": 4742206, "name": "EditorUI::onGroupIDFilter", "pseudocode": "// \n// EditorUI::onGroupIDFilter from 0x485b88 to 0x485c3e (182 bytes)\n// \n// 1 xrefs:\n// > EditorUI::handleEditorAction @ 0x6f224e\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:25 +0000\n// \n\nint __fastcall EditorUI::onGroupIDFilter(EditorUI *this, cocos2d::CCObject *a2)\n{\n  GameManager *v3; // r0\n  int IntGameVariable; // r9\n  _DWORD *v5; // r4\n  int v7[3]; // [sp+1Ch] [bp+0h] BYREF\n  int v8[3]; // [sp+28h] [bp+Ch] BYREF\n\n  v3 = (GameManager *)GameManager::sharedState(this);\n  memset(v7, 0, sizeof(v7));\n  IntGameVariable = GameManager::getIntGameVariable(v3, \"0133\");\n  std::string::__init(v7, \"GroupID Filter\", 0xEu);\n  memset(v8, 0, sizeof(v8));\n  std::string::__init(v8, \"OK\", 2u);\n  v5 = (_DWORD *)SetIDPopup::create(IntGameVariable, 0, 9999, (int)v7, (int)v8, 1, 0, 0.0, 1, 0);\n  std::string::~string((int)v8);\n  std::string::~string((int)v7);\n  (*(void (__fastcall **)(_DWORD *, int))(*v5 + 36))(v5, 1);\n  v5[136] = (char *)this + 340;\n  return (*(int (__fastcall **)(_DWORD *))(*v5 + 656))(v5);\n}", "assembly": "; \n; EditorUI::onGroupIDFilter from 0x485b88 to 0x485c3e (182 bytes)\n; \n; 1 xrefs:\n; > EditorUI::handleEditorAction @ 0x6f224e\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:25 +0000\n; \nPUSH.W          {R4-R9,LR}                                             ; +0x0, 0x485b88\nSUB             SP, SP, #0x3C                                          ; +0x4, 0x485b8c\nLDR             R6, =(__stack_chk_guard_ptr - 0x485B9A)                ; +0x6, 0x485b8e\nMOV             R8, R0                                                 ; +0x8, 0x485b90\nADD             R7, SP, #0x1C                                          ; +0xa, 0x485b92\nMOVS            R4, #0                                                 ; +0xc, 0x485b94\nADD             R6, PC; __stack_chk_guard_ptr                          ; +0xe, 0x485b96\nLDR             R6, [R6]; __stack_chk_guard                            ; +0x10, 0x485b98\nADD             R5, SP, #0x3C+var_14                                   ; +0x12, 0x485b9a\nLDR             R3, [R6]                                               ; +0x14, 0x485b9c\nSTR             R3, [SP,#0x3C+var_8]                                   ; +0x16, 0x485b9e\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x18, 0x485ba0\nLDR             R1, =(a0133 - 0x485BAA); \"0133\"                        ; +0x1c, 0x485ba4\nADD             R1, PC; \"0133\"                                         ; +0x1e, 0x485ba6\nBL              _ZN11GameManager18getIntGameVariableEPKc; GameManager::getIntGameVariable(char const*) ; +0x20, 0x485ba8\nLDR             R1, =(aGroupidFilter - 0x485BB6); \"GroupID Filter\"     ; +0x24, 0x485bac\nMOVS            R2, #0xE                                               ; +0x26, 0x485bae\nSTR             R4, [SP,#0x3C+var_20]                                  ; +0x28, 0x485bb0\nADD             R1, PC; \"GroupID Filter\"                               ; +0x2a, 0x485bb2\nSTR             R4, [SP,#0x3C+var_1C]                                  ; +0x2c, 0x485bb4\nSTR             R4, [SP,#0x3C+var_18]                                  ; +0x2e, 0x485bb6\nMOV             R9, R0                                                 ; +0x30, 0x485bb8\nMOV             R0, R7                                                 ; +0x32, 0x485bba\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x34, 0x485bbc\nLDR             R1, =(aOk - 0x485BCA); \"OK\"                            ; +0x38, 0x485bc0\nMOV             R0, R5                                                 ; +0x3a, 0x485bc2\nMOVS            R2, #2                                                 ; +0x3c, 0x485bc4\nADD             R1, PC; \"OK\"                                           ; +0x3e, 0x485bc6\nSTR             R4, [SP,#0x3C+var_14]                                  ; +0x40, 0x485bc8\nSTR             R4, [SP,#0x3C+var_10]                                  ; +0x42, 0x485bca\nSTR             R4, [SP,#0x3C+var_C]                                   ; +0x44, 0x485bcc\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x46, 0x485bce\nMOVS            R3, #1                                                 ; +0x4a, 0x485bd2\nMOVS            R2, #0                                                 ; +0x4c, 0x485bd4\nSTR             R3, [SP,#0x3C+var_38]; char                            ; +0x4e, 0x485bd6\nMOV             R1, R4; int                                            ; +0x50, 0x485bd8\nSTR             R2, [SP,#0x3C+var_30]; float                           ; +0x52, 0x485bda\nMOV             R0, R9; int                                            ; +0x54, 0x485bdc\nSTR             R3, [SP,#0x3C+var_2C]; char                            ; +0x56, 0x485bde\nMOVW            R2, #0x270F; int                                       ; +0x58, 0x485be0\nSTR             R5, [SP,#0x3C+var_3C]; int                             ; +0x5c, 0x485be4\nMOV             R3, R7; int                                            ; +0x5e, 0x485be6\nSTR             R4, [SP,#0x3C+var_34]; int                             ; +0x60, 0x485be8\nSTR             R4, [SP,#0x3C+var_28]; char                            ; +0x62, 0x485bea\nBL              _ZN10SetIDPopup6createEiiiNSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES6_bifbb; SetIDPopup::create(int,int,int,std::string,std::string,bool,int,float,bool,bool) ; +0x64, 0x485bec\nMOV             R4, R0                                                 ; +0x68, 0x485bf0\nMOV             R0, R5                                                 ; +0x6a, 0x485bf2\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x6c, 0x485bf4\nMOV             R0, R7                                                 ; +0x70, 0x485bf8\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x72, 0x485bfa\nLDR             R3, [R4]                                               ; +0x76, 0x485bfe\nMOV             R0, R4                                                 ; +0x78, 0x485c00\nMOVS            R1, #1                                                 ; +0x7a, 0x485c02\nLDR             R3, [R3,#0x24]                                         ; +0x7c, 0x485c04\nBLX             R3                                                     ; +0x7e, 0x485c06\nADD.W           R3, R8, #0x154                                         ; +0x80, 0x485c08\nSTR.W           R3, [R4,#0x220]                                        ; +0x84, 0x485c0c\nMOV             R0, R4                                                 ; +0x88, 0x485c10\nLDR             R3, [R4]                                               ; +0x8a, 0x485c12\nLDR.W           R3, [R3,#0x290]                                        ; +0x8c, 0x485c14\nBLX             R3                                                     ; +0x90, 0x485c18\nLDR             R2, [SP,#0x3C+var_8]                                   ; +0x92, 0x485c1a\nLDR             R3, [R6]                                               ; +0x94, 0x485c1c\nCMP             R2, R3                                                 ; +0x96, 0x485c1e\nBEQ             loc_485C38                                             ; +0x98, 0x485c20\nBLX             __stack_chk_fail                                       ; +0x9a, 0x485c22\nMOV             R0, R5                                                 ; +0x9e, 0x485c26\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xa0, 0x485c28\nB               loc_485C2E                                             ; +0xa4, 0x485c2c\nMOV             R0, R7                                                 ; +0xa6, 0x485c2e\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xa8, 0x485c30\nBL              __cxa_end_cleanup                                      ; +0xac, 0x485c34\nADD             SP, SP, #0x3C ; '<'                                    ; +0xb0, 0x485c38\nPOP.W           {R4-R9,PC}                                             ; +0xb2, 0x485c3a", "xrefs": ["EditorUI::handleEditorAction @ 0x6f224e"], "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"}