; ; ColorSelectPopup::colorSelectClosed from 0x4df814 to 0x4df948 (308 bytes) ; ; 1 xrefs: ; > `non-virtual thunk to'ColorSelectPopup::colorSelectClosed @ 0x4df958 ; ; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:50:59 +0000 ; PUSH.W {R0-R8,LR} ; +0x0, 0x4df814 MOV R6, R2 ; +0x4, 0x4df818 LDR R3, =(__stack_chk_guard_ptr - 0x4DF828) ; +0x6, 0x4df81a CMP.W R6, #0x3E8 ; +0x8, 0x4df81c MOV R4, R0 ; +0xc, 0x4df820 MOV R5, R1 ; +0xe, 0x4df822 ADD R3, PC; __stack_chk_guard_ptr ; +0x10, 0x4df824 LDR R3, [R3]; __stack_chk_guard ; +0x12, 0x4df826 LDR R2, [R3] ; +0x14, 0x4df828 MOV R7, R3 ; +0x16, 0x4df82a STR R2, [SP,#0x10+var_4] ; +0x18, 0x4df82c BLT.W loc_4DF936 ; +0x1a, 0x4df82e LDR R3, [R1] ; +0x1e, 0x4df832 MOV R0, R1 ; +0x20, 0x4df834 LDR R3, [R3,#0x20] ; +0x22, 0x4df836 BLX R3 ; +0x24, 0x4df838 CMP R0, #6 ; +0x26, 0x4df83a BNE loc_4DF8AC ; +0x28, 0x4df83c LDR.W R8, [R4,#0x314] ; +0x2a, 0x4df83e MOVS R2, #1 ; +0x2e, 0x4df842 LDR R1, =(a0 - 0x4DF852); "0" ; +0x30, 0x4df844 MOV R0, SP ; +0x32, 0x4df846 STR.W R6, [R4,#0x320] ; +0x34, 0x4df848 MOVS R3, #0 ; +0x38, 0x4df84c ADD R1, PC; "0" ; +0x3a, 0x4df84e STRB.W R2, [R4,#0x238] ; +0x3c, 0x4df850 STR R3, [SP,#0x10+var_10] ; +0x40, 0x4df854 MOV R5, SP ; +0x42, 0x4df856 STR R3, [SP,#0x10+var_C] ; +0x44, 0x4df858 STR R3, [SP,#0x10+var_8] ; +0x46, 0x4df85a BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x48, 0x4df85c MOV R0, R8 ; +0x4c, 0x4df860 MOV R1, SP ; +0x4e, 0x4df862 BL _ZN15CCTextInputNode9setStringENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; CCTextInputNode::setString(std::string) ; +0x50, 0x4df864 MOV R0, SP ; +0x54, 0x4df868 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x56, 0x4df86a MOV R0, R6; this ; +0x5a, 0x4df86e LDR.W R8, [R4,#0x314] ; +0x5c, 0x4df870 BL _ZN20GJSpecialColorSelect15textForColorIdxEi; GJSpecialColorSelect::textForColorIdx(int) ; +0x60, 0x4df874 MOVS R3, #0 ; +0x64, 0x4df878 STR R3, [SP,#0x10+var_10] ; +0x66, 0x4df87a STR R3, [SP,#0x10+var_C] ; +0x68, 0x4df87c STR R3, [SP,#0x10+var_8] ; +0x6a, 0x4df87e MOV R6, R0 ; +0x6c, 0x4df880 BLX strlen ; +0x6e, 0x4df882 MOV R1, R6 ; +0x72, 0x4df886 MOV R2, R0 ; +0x74, 0x4df888 MOV R0, SP ; +0x76, 0x4df88a BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x78, 0x4df88c MOV R0, R8 ; +0x7c, 0x4df890 MOV R1, SP ; +0x7e, 0x4df892 BL _ZN15CCTextInputNode11updateLabelENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; CCTextInputNode::updateLabel(std::string) ; +0x80, 0x4df894 MOV R0, SP ; +0x84, 0x4df898 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x86, 0x4df89a MOV R0, R4; this ; +0x8a, 0x4df89e BL _ZN16ColorSelectPopup20updateCustomColorIdxEv; ColorSelectPopup::updateCustomColorIdx(void) ; +0x8c, 0x4df8a0 MOV R0, R4; this ; +0x90, 0x4df8a4 BL _ZN17SetupTriggerPopup17updateEditorLabelEv; SetupTriggerPopup::updateEditorLabel(void) ; +0x92, 0x4df8a6 B loc_4DF91E ; +0x96, 0x4df8aa LDR R3, [R5] ; +0x98, 0x4df8ac MOV R0, R5 ; +0x9a, 0x4df8ae LDR R3, [R3,#0x20] ; +0x9c, 0x4df8b0 BLX R3 ; +0x9e, 0x4df8b2 CMP R0, #7 ; +0xa0, 0x4df8b4 BNE loc_4DF936 ; +0xa2, 0x4df8b6 LDR.W R8, [R4,#0x34C] ; +0xa4, 0x4df8b8 MOVS R2, #1 ; +0xa8, 0x4df8bc LDR R1, =(a0 - 0x4DF8CC); "0" ; +0xaa, 0x4df8be MOV R0, SP ; +0xac, 0x4df8c0 STR.W R6, [R4,#0x328] ; +0xae, 0x4df8c2 MOVS R3, #0 ; +0xb2, 0x4df8c6 ADD R1, PC; "0" ; +0xb4, 0x4df8c8 STRB.W R2, [R4,#0x238] ; +0xb6, 0x4df8ca STR R3, [SP,#0x10+var_10] ; +0xba, 0x4df8ce MOV R5, SP ; +0xbc, 0x4df8d0 STR R3, [SP,#0x10+var_C] ; +0xbe, 0x4df8d2 STR R3, [SP,#0x10+var_8] ; +0xc0, 0x4df8d4 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0xc2, 0x4df8d6 MOV R0, R8 ; +0xc6, 0x4df8da MOV R1, SP ; +0xc8, 0x4df8dc BL _ZN15CCTextInputNode9setStringENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; CCTextInputNode::setString(std::string) ; +0xca, 0x4df8de MOV R0, SP ; +0xce, 0x4df8e2 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xd0, 0x4df8e4 MOV R0, R6; this ; +0xd4, 0x4df8e8 LDR.W R8, [R4,#0x34C] ; +0xd6, 0x4df8ea BL _ZN20GJSpecialColorSelect15textForColorIdxEi; GJSpecialColorSelect::textForColorIdx(int) ; +0xda, 0x4df8ee MOVS R3, #0 ; +0xde, 0x4df8f2 STR R3, [SP,#0x10+var_10] ; +0xe0, 0x4df8f4 STR R3, [SP,#0x10+var_C] ; +0xe2, 0x4df8f6 STR R3, [SP,#0x10+var_8] ; +0xe4, 0x4df8f8 MOV R6, R0 ; +0xe6, 0x4df8fa BLX strlen ; +0xe8, 0x4df8fc MOV R1, R6 ; +0xec, 0x4df900 MOV R2, R0 ; +0xee, 0x4df902 MOV R0, SP ; +0xf0, 0x4df904 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0xf2, 0x4df906 MOV R0, R8 ; +0xf6, 0x4df90a MOV R1, SP ; +0xf8, 0x4df90c BL _ZN15CCTextInputNode11updateLabelENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; CCTextInputNode::updateLabel(std::string) ; +0xfa, 0x4df90e MOV R0, SP ; +0xfe, 0x4df912 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x100, 0x4df914 MOV R0, R4; this ; +0x104, 0x4df918 BL _ZN16ColorSelectPopup15updateCopyColorEv; ColorSelectPopup::updateCopyColor(void) ; +0x106, 0x4df91a MOVS R3, #0 ; +0x10a, 0x4df91e STRB.W R3, [R4,#0x238] ; +0x10c, 0x4df920 B loc_4DF936 ; +0x110, 0x4df924 B loc_4DF928 ; +0x112, 0x4df926 MOV R0, R5 ; +0x114, 0x4df928 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x116, 0x4df92a BL __cxa_end_cleanup ; +0x11a, 0x4df92e B loc_4DF928 ; +0x11e, 0x4df932 B loc_4DF928 ; +0x120, 0x4df934 LDR R2, [SP,#0x10+var_4] ; +0x122, 0x4df936 LDR R3, [R7] ; +0x124, 0x4df938 CMP R2, R3 ; +0x126, 0x4df93a BEQ loc_4DF942 ; +0x128, 0x4df93c BLX __stack_chk_fail ; +0x12a, 0x4df93e ADD SP, SP, #0x10 ; +0x12e, 0x4df942 POP.W {R4-R8,PC} ; +0x130, 0x4df944