{"type": "func", "start": 6089352, "end": 6089432, "name": "ColorAction::setupFromString", "pseudocode": "// \n// ColorAction::setupFromString from 0x5cea88 to 0x5cead8 (80 bytes)\n// \n// 11 xrefs:\n// > LevelSettingsObject::objectFromDict @ 0x475194\n// > LevelSettingsObject::objectFromDict @ 0x4751f8\n// > LevelSettingsObject::objectFromDict @ 0x47525c\n// > LevelSettingsObject::objectFromDict @ 0x4752c6\n// > LevelSettingsObject::objectFromDict @ 0x475320\n// > LevelSettingsObject::objectFromDict @ 0x475386\n// > LevelSettingsObject::objectFromDict @ 0x4753e8\n// > LevelSettingsObject::objectFromDict @ 0x47544a\n// > LevelSettingsObject::objectFromDict @ 0x4754a6\n// > GJEffectManager::setupFromString @ 0x5cec94\n// > EditorUI::pasteObjects @ 0x6f2fb4\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:54:03 +0000\n// \n\nint __fastcall ColorAction::setupFromString(int a1, unsigned __int8 *a2, int a3, int a4)\n{\n  _DWORD *v6; // [sp+0h] [bp-10h] BYREF\n  _DWORD v7[3]; // [sp+4h] [bp-Ch] BYREF\n\n  v7[2] = a4;\n  v7[0] = 0;\n  v7[1] = 0;\n  v6 = v7;\n  GameToolbox::stringSetupToMap(a2, \"_\", (int *)&v6);\n  ColorAction::setupFromMap(a1, (int *)&v6);\n  return std::__tree<std::__value_type<std::string,std::string>,std::__map_value_compare<std::string,std::__value_type<std::string,std::string>,std::less<std::string>,true>,std::allocator<std::__value_type<std::string,std::string>>>::~__tree((int)&v6);\n}", "assembly": "; \n; ColorAction::setupFromString from 0x5cea88 to 0x5cead8 (80 bytes)\n; \n; 11 xrefs:\n; > LevelSettingsObject::objectFromDict @ 0x475194\n; > LevelSettingsObject::objectFromDict @ 0x4751f8\n; > LevelSettingsObject::objectFromDict @ 0x47525c\n; > LevelSettingsObject::objectFromDict @ 0x4752c6\n; > LevelSettingsObject::objectFromDict @ 0x475320\n; > LevelSettingsObject::objectFromDict @ 0x475386\n; > LevelSettingsObject::objectFromDict @ 0x4753e8\n; > LevelSettingsObject::objectFromDict @ 0x47544a\n; > LevelSettingsObject::objectFromDict @ 0x4754a6\n; > GJEffectManager::setupFromString @ 0x5cec94\n; > EditorUI::pasteObjects @ 0x6f2fb4\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:54:03 +0000\n; \nPUSH            {R0-R6,LR}                                             ; +0x0, 0x5cea88\nMOV             R6, R0                                                 ; +0x2, 0x5cea8a\nLDR             R3, =(__stack_chk_guard_ptr - 0x5CEA98)                ; +0x4, 0x5cea8c\nMOV             R0, R1; int                                            ; +0x6, 0x5cea8e\nLDR             R1, =(asc_B7A719 - 0x5CEA9C); \"_\"                      ; +0x8, 0x5cea90\nMOV             R5, SP                                                 ; +0xa, 0x5cea92\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0xc, 0x5cea94\nLDR             R3, [R3]; __stack_chk_guard                            ; +0xe, 0x5cea96\nADD             R1, PC; \"_\"                                            ; +0x10, 0x5cea98\nLDR             R2, [R3]                                               ; +0x12, 0x5cea9a\nMOV             R4, R3                                                 ; +0x14, 0x5cea9c\nSTR             R2, [SP,#0x10+var_4]                                   ; +0x16, 0x5cea9e\nMOVS            R2, #0                                                 ; +0x18, 0x5ceaa0\nSTR             R2, [SP,#0x10+var_C]                                   ; +0x1a, 0x5ceaa2\nSTR             R2, [SP,#0x10+var_8]                                   ; +0x1c, 0x5ceaa4\nADD             R2, SP, #0x10+var_C                                    ; +0x1e, 0x5ceaa6\nSTR             R2, [SP,#0x10+var_10]                                  ; +0x20, 0x5ceaa8\nMOV             R2, SP                                                 ; +0x22, 0x5ceaaa\nBL              _ZN11GameToolbox16stringSetupToMapERKNSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPKcRNS0_3mapIS6_S6_NS0_4lessIS6_EENS4_INS0_4pairIS7_S6_EEEEEE; GameToolbox::stringSetupToMap(std::string const&,char const*,std::map<std::string,std::string> &) ; +0x24, 0x5ceaac\nMOV             R0, R6                                                 ; +0x28, 0x5ceab0\nMOV             R1, SP                                                 ; +0x2a, 0x5ceab2\nBL              _ZN11ColorAction12setupFromMapERNSt6__ndk13mapINS0_12basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES7_NS0_4lessIS7_EENS5_INS0_4pairIKS7_S7_EEEEEE; ColorAction::setupFromMap(std::map<std::string,std::string> &) ; +0x2c, 0x5ceab4\nMOV             R0, SP                                                 ; +0x30, 0x5ceab8\nBL              _ZNSt6__ndk16__treeINS_12__value_typeINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEES7_EENS_19__map_value_compareIS7_S8_NS_4lessIS7_EELb1EEENS5_IS8_EEED2Ev; std::__tree<std::__value_type<std::string,std::string>,std::__map_value_compare<std::string,std::__value_type<std::string,std::string>,std::less<std::string>,true>,std::allocator<std::__value_type<std::string,std::string>>>::~__tree() ; +0x32, 0x5ceaba\nLDR             R2, [SP,#0x10+var_4]                                   ; +0x36, 0x5ceabe\nLDR             R3, [R4]                                               ; +0x38, 0x5ceac0\nCMP             R2, R3                                                 ; +0x3a, 0x5ceac2\nBEQ             loc_5CEAD4                                             ; +0x3c, 0x5ceac4\nBLX             __stack_chk_fail                                       ; +0x3e, 0x5ceac6\nMOV             R0, R5                                                 ; +0x42, 0x5ceaca\nBL              _ZNSt6__ndk16__treeINS_12__value_typeINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEES7_EENS_19__map_value_compareIS7_S8_NS_4lessIS7_EELb1EEENS5_IS8_EEED2Ev; std::__tree<std::__value_type<std::string,std::string>,std::__map_value_compare<std::string,std::__value_type<std::string,std::string>,std::less<std::string>,true>,std::allocator<std::__value_type<std::string,std::string>>>::~__tree() ; +0x44, 0x5ceacc\nBL              __cxa_end_cleanup                                      ; +0x48, 0x5cead0\nADD             SP, SP, #0x10                                          ; +0x4c, 0x5cead4\nPOP             {R4-R6,PC}                                             ; +0x4e, 0x5cead6", "xrefs": ["LevelSettingsObject::objectFromDict @ 0x475194", "LevelSettingsObject::objectFromDict @ 0x4751f8", "LevelSettingsObject::objectFromDict @ 0x47525c", "LevelSettingsObject::objectFromDict @ 0x4752c6", "LevelSettingsObject::objectFromDict @ 0x475320", "LevelSettingsObject::objectFromDict @ 0x475386", "LevelSettingsObject::objectFromDict @ 0x4753e8", "LevelSettingsObject::objectFromDict @ 0x47544a", "LevelSettingsObject::objectFromDict @ 0x4754a6", "GJEffectManager::setupFromString @ 0x5cec94", "EditorUI::pasteObjects @ 0x6f2fb4"], "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"}